#59187E#59187E

#59187E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.161 H 309.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#59187E
RGBrgb(89, 24, 126)
HSLhsl(278, 68%, 29%)
HSVhsv(278, 81%, 49%)
CMYKcmyk(29.4%, 81%, 0%, 50.6%)
CIE-LABlab(24.59, 46.09, -43.95)
CIE-LCHlch(24.59, 63.69, 316.36°)
OKLaboklab(37.07% 0.1025 -0.1248)
OKLCHoklch(37.07% 0.161 309.4)
XYZxyz(8.2116, 4.2836, 20.1289)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187E #3D7E18
analogous
#26187E #59187E #7E1870
triadic
#59187E #7E5918 #187E59
tetradic
#59187E #7E2618 #3D7E18 #18707E
square
#59187E #7E2618 #3D7E18 #18707E
split-complementary
#59187E #707E18 #187E26
monochromatic
#12051A #350E4B #59187E #7D22B1 #9E37D9

Accessibility & contrast

On white

11.31
#59187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#59187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59187E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187E#FFFFFF#000000##FFFFFF
##59187E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#53324B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59187e;
/* rgb */ color: rgb(89, 24, 126);
/* oklch */ color: oklch(37.1% 0.161 309.4);
Tailwind
colors: {
  custom: {
    50: '#8c5da4',
    500: '#59187e',
    950: '#000000',
  },
}
SCSS
$custom: #59187e;
$custom-light: #8c5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#59187e",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 278.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.16146,
    "h": 309.4
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#59187E
secondary
#69B23F
accent
#EB3D7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59187E

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

Preview Lab → · Contrast checker → · Palette generator →

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