#59217C#59217C

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

Color values

HEX#59217C
RGBrgb(89, 33, 124)
HSLhsl(277, 58%, 31%)
HSVhsv(277, 73%, 49%)
CMYKcmyk(28.2%, 73.4%, 0%, 51.4%)
CIE-LABlab(25.76, 41.82, -40.78)
CIE-LCHlch(25.76, 58.41, 315.72°)
OKLaboklab(37.86% 0.0939 -0.1155)
OKLCHoklch(37.86% 0.149 309.1)
XYZxyz(8.3010, 4.6669, 19.5284)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59217C #447C21
analogous
#2B217C #59217C #7C2171
triadic
#59217C #7C5921 #217C59
tetradic
#59217C #7C2B21 #447C21 #21717C
square
#59217C #7C2B21 #447C21 #21717C
split-complementary
#59217C #717C21 #217C2B
monochromatic
#14071B #36144C #59217C #7C2EAC #9B49CF

Accessibility & contrast

On white

10.86
#59217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59217C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59217C#FFFFFF#000000##FFFFFF
##59217C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#0C3E7A
Tritanopia (blue-blind)
#54354C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59217c;
/* rgb */ color: rgb(89, 33, 124);
/* oklch */ color: oklch(37.9% 0.149 309.1);
Tailwind
colors: {
  custom: {
    50: '#8c62a2',
    500: '#59217c',
    950: '#000000',
  },
}
SCSS
$custom: #59217c;
$custom-light: #8c62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59217c",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 276.923,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.14887,
    "h": 309.1
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#59217C
secondary
#71AF4A
accent
#E14782
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59217C

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

Preview Lab → · Contrast checker → · Palette generator →

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