#59127D#59127D

#59127D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.166 H 310.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#59127D
RGBrgb(89, 18, 125)
HSLhsl(280, 75%, 28%)
HSVhsv(280, 86%, 49%)
CMYKcmyk(28.8%, 85.6%, 0%, 51%)
CIE-LABlab(23.79, 47.93, -44.61)
CIE-LCHlch(23.79, 65.48, 317.06°)
OKLaboklab(36.49% 0.1076 -0.1267)
OKLCHoklch(36.49% 0.166 310.3)
XYZxyz(8.0371, 4.0373, 19.7540)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59127D #367D12
analogous
#23127D #59127D #7D126B
triadic
#59127D #7D5912 #127D59
tetradic
#59127D #7D2312 #367D12 #126B7D
square
#59127D #7D2312 #367D12 #126B7D
split-complementary
#59127D #6B7D12 #127D23
monochromatic
#13041B #330A48 #59127D #7F1AB2 #A329E0

Accessibility & contrast

On white

11.62
#59127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#59127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59127D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59127D#FFFFFF#000000##FFFFFF
##59127D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#542F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59127d;
/* rgb */ color: rgb(89, 18, 125);
/* oklch */ color: oklch(36.5% 0.166 310.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ba3',
    500: '#59127d',
    950: '#000000',
  },
}
SCSS
$custom: #59127d;
$custom-light: #8c5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#59127d",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 279.813,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.16617,
    "h": 310.3
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#59127D
secondary
#61B338
accent
#F13675
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59127D

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

Preview Lab → · Contrast checker → · Palette generator →

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