#59187B#59187B

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

Color values

HEX#59187B
RGBrgb(89, 24, 123)
HSLhsl(279, 67%, 29%)
HSVhsv(279, 80%, 48%)
CMYKcmyk(27.6%, 80.5%, 0%, 51.8%)
CIE-LABlab(24.35, 45.41, -42.44)
CIE-LCHlch(24.35, 62.16, 316.93°)
OKLaboklab(36.83% 0.1032 -0.1203)
OKLCHoklch(36.83% 0.159 310.6)
XYZxyz(8.0209, 4.2074, 19.1246)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187B #3A7B18
analogous
#28187B #59187B #7B186C
triadic
#59187B #7B5918 #187B59
tetradic
#59187B #7B2818 #3A7B18 #186C7B
square
#59187B #7B2818 #3A7B18 #186C7B
split-complementary
#59187B #6C7B18 #187B28
monochromatic
#13051A #340E48 #59187B #7E22AE #A036D8

Accessibility & contrast

On white

11.40
#59187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#59187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59187B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187B#FFFFFF#000000##FFFFFF
##59187B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#543049
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59187b;
/* rgb */ color: rgb(89, 24, 123);
/* oklch */ color: oklch(36.8% 0.159 310.6);
Tailwind
colors: {
  custom: {
    50: '#8c5da2',
    500: '#59187b',
    950: '#000000',
  },
}
SCSS
$custom: #59187b;
$custom-light: #8c5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#59187b",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 279.394,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.1585,
    "h": 310.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#59187B
secondary
#66B03F
accent
#EA3E79
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #59187B

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

Preview Lab → · Contrast checker → · Palette generator →

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