#59397b
a dark, soft violet · cool · closest name: Dark Slate Blue
At a glance
Every number on this page in one read: what #59397b is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #59397b |
| RGB | rgb(89, 57, 123) |
| HSL | hsl(269, 37%, 35%) |
| CMYK | cmyk(28%, 54%, 0%, 52%) |
| LAB | lab(30.6 28.4 -32.4) |
| LCH | lch(30.6 43.1 311.2) |
| OKLCH | oklch(0.413 0.110 304.4) |
| Decimal | 5847419 |
| Display P3 | color(display-p3 0.349 0.224 0.482) |
Copy-ready code
/* CSS */
color: #59397b;
background-color: #59397b;
/* Tailwind (arbitrary) */
class="text-[#59397b] bg-[#59397b]"
/* SCSS */
$brand: #59397b;
/* SwiftUI */
Color(red: 0.349, green: 0.224, blue: 0.482)
/* Android */
Color.parseColor("#59397b")
/* Flutter */
Color(0xFF59397B)
/* Python / OpenCV (BGR) */
(123, 57, 89)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #59397b is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F7F5FA;
--brand-100: #F0EBF4;
--brand-200: #DED3E9;
--brand-300: #C6B2DB;
--brand-400: #AA8CCA;
--brand-500: #8E66B8;
--brand-600: #794DA7;
--brand-700: #65418B;
--brand-800: #59397b;
--brand-900: #3D2952;
--brand-950: #261933;
--brand: #59397b;
--brand-ink: #ffffff;
}Colors that work with #59397b
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #59397b
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Charts, tags and secondary surfaces
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text on black or near-black surfaces
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #5B7B39 | Directly opposite — maximum tension | |
| Analogous left | #393A7B | Neighbour, quieter | |
| Analogous right | #7A397B | Neighbour, quieter | |
| Split-complement 1 | #7B7A39 | Contrast without the clash | |
| Split-complement 2 | #3A7B39 | Contrast without the clash | |
| Triadic 1 | #7B5939 | Even thirds — balanced and loud | |
| Triadic 2 | #397B59 | Even thirds — balanced and loud | |
| Tetradic | #7B393A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#59397b text on a black background
contrast 2.30:1
#59397b text on a white background
contrast 9.15:1
CSS3 live lab
The quick brown fox
color: #59397b;
background-color: #59397b;
Glowing headline
text-shadow: 2px 2px 8px #59397b;
Soft neon halo
text-shadow: 0 0 14px rgba(89, 57, 123, 0.45);
box-shadow: 0 12px 32px -8px rgba(89, 57, 123, 0.45);
border: 3px solid #59397b; background: linear-gradient(135deg, #59397b, #7B3971);
Monochromatic scale
Palettes built from #59397b
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Purple (#800080) — ΔE2000 11.3 away, with its history, psychology and brand usage.
#59397b in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#59397b, answered
What color is #59397b?
#59397b is a dark soft violet, closest to Dark Slate Blue (ΔE2000 6.2). It sits at 269° on the hue wheel with 37% saturation and 35% lightness, which reads as cool.
What is the RGB value of #59397b?
rgb(89, 57, 123) — 89 red, 57 green and 123 blue out of 255, or 34.9% / 22.4% / 48.2% by channel.
Is #59397b a light or a dark color?
It is a dark color. Relative luminance is 0.0648 and perceived brightness is 30%, so white text on it reaches 9.15:1.
Should I use black or white text on #59397b?
White. It scores 9.15:1 against #59397b, versus 2.30:1 for black — AAA at any size.
What is the complementary color of #59397b?
#5B7B39 sits directly opposite on the wheel. Softer options are the split-complements #7B7A39 and #3A7B39, which give the same contrast with far less vibration.
What colors go well with #59397b?
For interface work: #F7F5FA as the surface, #D6C7E5 for borders, #724B9B for secondary text, #6D7F35 as an accent and #3F2857 for hover and pressed states. For a palette, the analogous pair #393A7B and #7A397B stays calm, while #5B7B39 is the loudest partner.
What is #59397b in CMYK for printing?
cmyk(28%, 54%, 0%, 52%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #59397b warm or cool?
Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #71397B; nudged cooler, #3F377D.