Skip to content

#59397b

a dark, soft violet · cool · closest name: Dark Slate Blue

RGB
89, 57, 123
HSL
269°, 37%, 35%
CMYK
28, 54, 0, 52
Luminance
0.0648

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.

Hex
#59397b
Hue
269°
violet
Saturation
37%
soft
Lightness
35%
dark
Brightness
48%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0648
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Soft
Best ink
White
9.15:1
Closest name
Dark Slate Blue
ΔE2000 6.2
Where it sits
Hue269° of 360°
Saturation37%
Lightness35%
Temperature
Warm ← → Cool67% cool

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
RGBrgb(89, 57, 123)
HSLhsl(269, 37%, 35%)
CMYKcmyk(28%, 54%, 0%, 52%)
LABlab(30.6 28.4 -32.4)
LCHlch(30.6 43.1 311.2)
OKLCHoklch(0.413 0.110 304.4)
Decimal5847419
Display P3color(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.

Readable at a glance#ffffff on #59397b · 9.15:1
Use #ffffffAAA at every size.
Aa
White text · 9.15:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.30:1
AA fail · AA large fail · AAA fail
Reading the other direction: #59397b as text scores 9.15:1 on white and 2.30:1 on black.

Accessibility — WCAG contrast

Aa
#59397b on white: 9.15:1
AA ✓ pass · AA-large · AAA
Aa
#59397b on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #24477D
deuteranopia · #2D4879
tritanopia · #534554

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.

#F7F5FA
#F0EBF4
#DED3E9
#C6B2DB
#AA8CCA
#8E66B8
#794DA7
#65418B
#59397b
#3D2952
#261933
Base = 800Lightest = 50 · #F7F5FADarkest = 950 · #261933
: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.

Text on it#ffffff
White wins here
Surface#F7F5FA
Tinted page background
Border#D6C7E5
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#6D7F35
Second voice, not a rival
Dark variant#3F2857
Hover, pressed, headers
Light variant#F2EEF7
Selected rows, tints
Dark surface#1C1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #59397b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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
Analogous left#393A7B
Analogous right#7A397B
Split-complement 1#7B7A39
Split-complement 2#3A7B39
Triadic 1#7B5939
Triadic 2#397B59
Tetradic#7B393A

RGB percentages

Red34.9%
Green22.4%
Blue48.2%

CMYK percentages

Cyan27.6%
Magenta53.7%
Yellow0.0%
Key (black)51.8%

Color previews

#59397b text on a black background

contrast 2.30:1

Card sample

#59397b text on a white background

contrast 9.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #59397b;
Background color
Panel with #59397b background
background-color: #59397b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #59397b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 57, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 57, 123, 0.45);
Border & gradient
Gradient panel
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.

#59397b in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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.

Work with #59397b in the Color Lab