#59217D#59217D

#59217D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.150 H 308.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#59217D
RGBrgb(89, 33, 125)
HSLhsl(277, 58%, 31%)
HSVhsv(277, 74%, 49%)
CMYKcmyk(28.8%, 73.6%, 0%, 51%)
CIE-LABlab(25.84, 42.06, -41.29)
CIE-LCHlch(25.84, 58.94, 315.53°)
OKLaboklab(37.93% 0.0938 -0.117)
OKLCHoklch(37.93% 0.15 308.7)
XYZxyz(8.3646, 4.6924, 19.8631)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59217D #457D21
analogous
#2B217D #59217D #7D2173
triadic
#59217D #7D5921 #217D59
tetradic
#59217D #7D2B21 #457D21 #21737D
square
#59217D #7D2B21 #457D21 #21737D
split-complementary
#59217D #737D21 #217D2B
monochromatic
#14071C #37144D #59217D #7B2EAD #9B49CF

Accessibility & contrast

On white

10.83
#59217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#59217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59217D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59217D#FFFFFF#000000##FFFFFF
##59217D1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#0A3E7B
Tritanopia (blue-blind)
#54364D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59217d;
/* rgb */ color: rgb(89, 33, 125);
/* oklch */ color: oklch(37.9% 0.150 308.7);
Tailwind
colors: {
  custom: {
    50: '#8c62a3',
    500: '#59217d',
    950: '#000000',
  },
}
SCSS
$custom: #59217d;
$custom-light: #8c62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#59217d",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 276.522,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.14994,
    "h": 308.7
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#59217D
secondary
#72B04A
accent
#E14683
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59217D

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

Preview Lab → · Contrast checker → · Palette generator →

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