#59187D#59187D

#59187D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.160 H 309.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#59187D
RGBrgb(89, 24, 125)
HSLhsl(279, 68%, 29%)
HSVhsv(279, 81%, 49%)
CMYKcmyk(28.8%, 80.8%, 0%, 51%)
CIE-LABlab(24.51, 45.86, -43.45)
CIE-LCHlch(24.51, 63.18, 316.55°)
OKLaboklab(36.99% 0.1027 -0.1233)
OKLCHoklch(36.99% 0.16 309.8)
XYZxyz(8.1474, 4.2580, 19.7907)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187D #3C7D18
analogous
#27187D #59187D #7D186F
triadic
#59187D #7D5918 #187D59
tetradic
#59187D #7D2718 #3C7D18 #186F7D
square
#59187D #7D2718 #3C7D18 #186F7D
split-complementary
#59187D #6F7D18 #187D27
monochromatic
#12051A #340E4A #59187D #7E22B0 #9F37D9

Accessibility & contrast

On white

11.34
#59187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#59187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59187D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187D#FFFFFF#000000##FFFFFF
##59187D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#54314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59187d;
/* rgb */ color: rgb(89, 24, 125);
/* oklch */ color: oklch(37.0% 0.160 309.8);
Tailwind
colors: {
  custom: {
    50: '#8c5da3',
    500: '#59187d',
    950: '#000000',
  },
}
SCSS
$custom: #59187d;
$custom-light: #8c5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#59187d",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 278.614,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.16048,
    "h": 309.8
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#59187D
secondary
#68B23F
accent
#EB3D7B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59187D

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

Preview Lab → · Contrast checker → · Palette generator →

#59187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva