#59237A#59237A

#59237A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.144 H 309.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#59237A
RGBrgb(89, 35, 122)
HSLhsl(277, 55%, 31%)
HSVhsv(277, 71%, 48%)
CMYKcmyk(27%, 71.3%, 0%, 52.2%)
CIE-LABlab(25.95, 40.39, -39.21)
CIE-LCHlch(25.95, 56.29, 315.85°)
OKLaboklab(37.95% 0.0919 -0.1109)
OKLCHoklch(37.95% 0.144 309.6)
XYZxyz(8.2330, 4.7312, 18.8881)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59237A #447A23
analogous
#2D237A #59237A #7A236F
triadic
#59237A #7A5923 #237A59
tetradic
#59237A #7A2D23 #447A23 #236F7A
square
#59237A #7A2D23 #447A23 #236F7A
split-complementary
#59237A #6F7A23 #237A2D
monochromatic
#14081B #36154A #59237A #7C31AA #9B4CCC

Accessibility & contrast

On white

10.79
#59237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#59237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59237A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59237A#FFFFFF#000000##FFFFFF
##59237A1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#54364B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59237a;
/* rgb */ color: rgb(89, 35, 122);
/* oklch */ color: oklch(37.9% 0.144 309.6);
Tailwind
colors: {
  custom: {
    50: '#8b63a1',
    500: '#59237a',
    950: '#000000',
  },
}
SCSS
$custom: #59237a;
$custom-light: #8b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#59237a",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 277.241,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.14402,
    "h": 309.6
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#59237A
secondary
#71AD4C
accent
#DF4982
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59237A

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

Preview Lab → · Contrast checker → · Palette generator →

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