#59217B#59217B

#59217B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.148 H 309.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#59217B
RGBrgb(89, 33, 123)
HSLhsl(277, 58%, 31%)
HSVhsv(277, 73%, 48%)
CMYKcmyk(27.6%, 73.2%, 0%, 51.8%)
CIE-LABlab(25.69, 41.58, -40.27)
CIE-LCHlch(25.69, 57.89, 315.92°)
OKLaboklab(37.78% 0.0941 -0.114)
OKLCHoklch(37.78% 0.148 309.5)
XYZxyz(8.2381, 4.6418, 19.1970)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59217B #437B21
analogous
#2C217B #59217B #7B2170
triadic
#59217B #7B5921 #217B59
tetradic
#59217B #7B2C21 #437B21 #21707B
square
#59217B #7B2C21 #437B21 #21707B
split-complementary
#59217B #707B21 #217B2C
monochromatic
#13071A #36144B #59217B #7C2EAB #9C48CE

Accessibility & contrast

On white

10.89
#59217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59217B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59217B#FFFFFF#000000##FFFFFF
##59217B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#0F3E79
Tritanopia (blue-blind)
#54354B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59217b;
/* rgb */ color: rgb(89, 33, 123);
/* oklch */ color: oklch(37.8% 0.148 309.5);
Tailwind
colors: {
  custom: {
    50: '#8b62a2',
    500: '#59217b',
    950: '#000000',
  },
}
SCSS
$custom: #59217b;
$custom-light: #8b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59217b",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 277.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.1478,
    "h": 309.5
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#59217B
secondary
#70AE4A
accent
#E14781
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59217B

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

Preview Lab → · Contrast checker → · Palette generator →

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