#59127F#59127F

#59127F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.168 H 309.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#59127F
RGBrgb(89, 18, 127)
HSLhsl(279, 75%, 28%)
HSVhsv(279, 86%, 50%)
CMYKcmyk(29.9%, 85.8%, 0%, 50.2%)
CIE-LABlab(23.96, 48.37, -45.60)
CIE-LCHlch(23.96, 66.48, 316.69°)
OKLaboklab(36.66% 0.107 -0.1296)
OKLCHoklch(36.66% 0.168 309.5)
XYZxyz(8.1661, 4.0889, 20.4336)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59127F #387F12
analogous
#23127F #59127F #7F126E
triadic
#59127F #7F5912 #127F59
tetradic
#59127F #7F2312 #387F12 #126E7F
square
#59127F #7F2312 #387F12 #126E7F
split-complementary
#59127F #6E7F12 #127F23
monochromatic
#13041B #330A49 #59127F #7F1AB5 #A12BE1

Accessibility & contrast

On white

11.55
#59127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#59127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59127F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59127F#FFFFFF#000000##FFFFFF
##59127F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#53304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59127f;
/* rgb */ color: rgb(89, 18, 127);
/* oklch */ color: oklch(36.7% 0.168 309.5);
Tailwind
colors: {
  custom: {
    50: '#8d5ba5',
    500: '#59127f',
    950: '#000000',
  },
}
SCSS
$custom: #59127f;
$custom-light: #8d5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#59127f",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 279.083,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36664,
    "c": 0.16804,
    "h": 309.5
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#59127F
secondary
#64B538
accent
#F23677
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59127F

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

Preview Lab → · Contrast checker → · Palette generator →

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