#59237F#59237F

#59237F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.149 H 307.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#59237F
RGBrgb(89, 35, 127)
HSLhsl(275, 57%, 32%)
HSVhsv(275, 72%, 50%)
CMYKcmyk(29.9%, 72.4%, 0%, 50.2%)
CIE-LABlab(26.33, 41.60, -41.77)
CIE-LCHlch(26.33, 58.95, 314.88°)
OKLaboklab(38.33% 0.0912 -0.1184)
OKLCHoklch(38.33% 0.149 307.6)
XYZxyz(8.5508, 4.8583, 20.5618)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59237F #497F23
analogous
#2B237F #59237F #7F2377
triadic
#59237F #7F5923 #237F59
tetradic
#59237F #7F2B23 #497F23 #23777F
square
#59237F #7F2B23 #497F23 #23777F
split-complementary
#59237F #777F23 #237F2B
monochromatic
#16091F #37164F #59237F #7B30AF #994ECE

Accessibility & contrast

On white

10.65
#59237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59237F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59237F#FFFFFF#000000##FFFFFF
##59237F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#53384E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59237f;
/* rgb */ color: rgb(89, 35, 127);
/* oklch */ color: oklch(38.3% 0.149 307.6);
Tailwind
colors: {
  custom: {
    50: '#8c63a5',
    500: '#59237f',
    950: '#000000',
  },
}
SCSS
$custom: #59237f;
$custom-light: #8c63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#59237f",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 275.217,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.14949,
    "h": 307.6
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#59237F
secondary
#76B14C
accent
#E04887
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59237F

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

Preview Lab → · Contrast checker → · Palette generator →

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