#59127E#59127E

#59127E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.167 H 309.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#59127E
RGBrgb(89, 18, 126)
HSLhsl(279, 75%, 28%)
HSVhsv(279, 86%, 49%)
CMYKcmyk(29.4%, 85.7%, 0%, 50.6%)
CIE-LABlab(23.88, 48.15, -45.11)
CIE-LCHlch(23.88, 65.98, 316.87°)
OKLaboklab(36.58% 0.1073 -0.1281)
OKLCHoklch(36.58% 0.167 309.9)
XYZxyz(8.1013, 4.0630, 20.0921)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59127E #377E12
analogous
#23127E #59127E #7E126D
triadic
#59127E #7E5912 #127E59
tetradic
#59127E #7E2312 #377E12 #126D7E
square
#59127E #7E2312 #377E12 #126D7E
split-complementary
#59127E #6D7E12 #127E23
monochromatic
#13041B #330A48 #59127E #7F1AB4 #A22AE1

Accessibility & contrast

On white

11.59
#59127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59127E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59127E#FFFFFF#000000##FFFFFF
##59127E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#542F4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59127e;
/* rgb */ color: rgb(89, 18, 126);
/* oklch */ color: oklch(36.6% 0.167 309.9);
Tailwind
colors: {
  custom: {
    50: '#8d5ba4',
    500: '#59127e',
    950: '#000000',
  },
}
SCSS
$custom: #59127e;
$custom-light: #8d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#59127e",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 279.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.16711,
    "h": 309.9
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#59127E
secondary
#62B438
accent
#F23676
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59127E

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

Preview Lab → · Contrast checker → · Palette generator →

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