#59238F#59238F

#59238F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.167 H 301.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#59238F
RGBrgb(89, 35, 143)
HSLhsl(270, 61%, 35%)
HSVhsv(270, 76%, 56%)
CMYKcmyk(37.8%, 75.5%, 0%, 43.9%)
CIE-LABlab(27.60, 45.56, -49.70)
CIE-LCHlch(27.60, 67.42, 312.51°)
OKLaboklab(39.63% 0.0883 -0.1417)
OKLCHoklch(39.63% 0.167 301.9)
XYZxyz(9.6776, 5.3090, 26.4962)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59238F #598F23
analogous
#23238F #59238F #8F238F
triadic
#59238F #8F5923 #238F59
tetradic
#59238F #8F2323 #598F23 #238F8F
square
#59238F #8F2323 #598F23 #238F8F
split-complementary
#59238F #8F8F23 #238F23
monochromatic
#1C0B2D #3A175E #59238F #782FC0 #9657D6

Accessibility & contrast

On white

10.19
#59238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#59238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59238F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59238F#FFFFFF#000000##FFFFFF
##59238F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#4D3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59238f;
/* rgb */ color: rgb(89, 35, 143);
/* oklch */ color: oklch(39.6% 0.167 301.9);
Tailwind
colors: {
  custom: {
    50: '#8d64b1',
    500: '#59238f',
    950: '#000000',
  },
}
SCSS
$custom: #59238f;
$custom-light: #8d64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#59238f",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.16696,
    "h": 301.9
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#59238F
secondary
#87BA54
accent
#E44494
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59238F

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

Preview Lab → · Contrast checker → · Palette generator →

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