#59187C#59187C

#59187C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.159 H 310.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#59187C
RGBrgb(89, 24, 124)
HSLhsl(279, 68%, 29%)
HSVhsv(279, 81%, 49%)
CMYKcmyk(28.2%, 80.6%, 0%, 51.4%)
CIE-LABlab(24.43, 45.64, -42.95)
CIE-LCHlch(24.43, 62.67, 316.74°)
OKLaboklab(36.91% 0.1029 -0.1218)
OKLCHoklch(36.91% 0.159 310.2)
XYZxyz(8.0838, 4.2325, 19.4560)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187C #3B7C18
analogous
#27187C #59187C #7C186D
triadic
#59187C #7C5918 #187C59
tetradic
#59187C #7C2718 #3B7C18 #186D7C
square
#59187C #7C2718 #3B7C18 #186D7C
split-complementary
#59187C #6D7C18 #187C27
monochromatic
#12051A #340E49 #59187C #7E22AF #9F36D8

Accessibility & contrast

On white

11.37
#59187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59187C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187C#FFFFFF#000000##FFFFFF
##59187C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#54314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59187c;
/* rgb */ color: rgb(89, 24, 124);
/* oklch */ color: oklch(36.9% 0.159 310.2);
Tailwind
colors: {
  custom: {
    50: '#8c5da3',
    500: '#59187c',
    950: '#000000',
  },
}
SCSS
$custom: #59187c;
$custom-light: #8c5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#59187c",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 279,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.15949,
    "h": 310.2
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#59187C
secondary
#67B13F
accent
#EA3D7A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59187C

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

Preview Lab → · Contrast checker → · Palette generator →

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