#59217F#59217F

#59217F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.152 H 307.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#59217F
RGBrgb(89, 33, 127)
HSLhsl(276, 59%, 31%)
HSVhsv(276, 74%, 50%)
CMYKcmyk(29.9%, 74%, 0%, 50.2%)
CIE-LABlab(25.99, 42.54, -42.31)
CIE-LCHlch(25.99, 59.99, 315.15°)
OKLaboklab(38.09% 0.0934 -0.12)
OKLCHoklch(38.09% 0.152 307.9)
XYZxyz(8.4936, 4.7440, 20.5428)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59217F #477F21
analogous
#2A217F #59217F #7F2176
triadic
#59217F #7F5921 #217F59
tetradic
#59217F #7F2A21 #477F21 #21767F
square
#59217F #7F2A21 #477F21 #21767F
split-complementary
#59217F #767F21 #217F2A
monochromatic
#15081E #37144E #59217F #7B2EB0 #9A4AD0

Accessibility & contrast

On white

10.78
#59217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#59217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59217F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59217F#FFFFFF#000000##FFFFFF
##59217F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#053E7D
Tritanopia (blue-blind)
#53374E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59217f;
/* rgb */ color: rgb(89, 33, 127);
/* oklch */ color: oklch(38.1% 0.152 307.9);
Tailwind
colors: {
  custom: {
    50: '#8c62a5',
    500: '#59217f',
    950: '#000000',
  },
}
SCSS
$custom: #59217f;
$custom-light: #8c62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#59217f",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 275.745,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.15208,
    "h": 307.9
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#59217F
secondary
#74B24A
accent
#E24685
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59217F

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

Preview Lab → · Contrast checker → · Palette generator →

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