#59157B#59157B

#59157B is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.162 H 310.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#59157B
RGBrgb(89, 21, 123)
HSLhsl(280, 71%, 28%)
HSVhsv(280, 83%, 48%)
CMYKcmyk(27.6%, 82.9%, 0%, 51.8%)
CIE-LABlab(23.97, 46.50, -43.06)
CIE-LCHlch(23.97, 63.38, 317.20°)
OKLaboklab(36.56% 0.1058 -0.1221)
OKLCHoklch(36.56% 0.162 310.9)
XYZxyz(7.9624, 4.0904, 19.1051)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59157B #377B15
analogous
#26157B #59157B #7B156A
triadic
#59157B #7B5915 #157B59
tetradic
#59157B #7B2615 #377B15 #156A7B
square
#59157B #7B2615 #377B15 #156A7B
split-complementary
#59157B #6A7B15 #157B26
monochromatic
#13041A #330C47 #59157B #7F1EAF #A22FDB

Accessibility & contrast

On white

11.55
#59157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#59157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59157B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59157B#FFFFFF#000000##FFFFFF
##59157B1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#542F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59157b;
/* rgb */ color: rgb(89, 21, 123);
/* oklch */ color: oklch(36.6% 0.162 310.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ca2',
    500: '#59157b',
    950: '#000000',
  },
}
SCSS
$custom: #59157b;
$custom-light: #8c5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#59157b",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 280,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.16154,
    "h": 310.9
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#59157B
secondary
#62B03B
accent
#EE3A76
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #59157B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#59157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva