#59237E#59237E

#59237E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.148 H 308.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#59237E
RGBrgb(89, 35, 126)
HSLhsl(276, 57%, 32%)
HSVhsv(276, 72%, 49%)
CMYKcmyk(29.4%, 72.2%, 0%, 50.6%)
CIE-LABlab(26.25, 41.35, -41.26)
CIE-LCHlch(26.25, 58.41, 315.07°)
OKLaboklab(38.25% 0.0914 -0.1169)
OKLCHoklch(38.25% 0.148 308)
XYZxyz(8.4860, 4.8324, 20.2203)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59237E #487E23
analogous
#2B237E #59237E #7E2376
triadic
#59237E #7E5923 #237E59
tetradic
#59237E #7E2B23 #487E23 #23767E
square
#59237E #7E2B23 #487E23 #23767E
split-complementary
#59237E #767E23 #237E2B
monochromatic
#15081E #37164E #59237E #7B30AE #9A4ECE

Accessibility & contrast

On white

10.68
#59237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#59237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59237E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59237E#FFFFFF#000000##FFFFFF
##59237E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#0C3F7C
Tritanopia (blue-blind)
#53374E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59237e;
/* rgb */ color: rgb(89, 35, 126);
/* oklch */ color: oklch(38.3% 0.148 308.0);
Tailwind
colors: {
  custom: {
    50: '#8c63a4',
    500: '#59237e',
    950: '#000000',
  },
}
SCSS
$custom: #59237e;
$custom-light: #8c63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#59237e",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 275.604,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.1484,
    "h": 308
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#59237E
secondary
#75B04C
accent
#E04886
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59237E

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

Preview Lab → · Contrast checker → · Palette generator →

#59237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva