#59337F#59337F

#59337F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.126 H 304.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#59337F
RGBrgb(89, 51, 127)
HSLhsl(270, 43%, 35%)
HSVhsv(270, 60%, 50%)
CMYKcmyk(29.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(29.47, 33.02, -36.70)
CIE-LCHlch(29.47, 49.37, 311.97°)
OKLaboklab(40.6% 0.0711 -0.1036)
OKLCHoklch(40.6% 0.126 304.5)
XYZxyz(9.1336, 6.0238, 20.7561)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59337F #597F33
analogous
#33337F #59337F #7F337F
triadic
#59337F #7F5933 #337F59
tetradic
#59337F #7F3333 #597F33 #337F7F
square
#59337F #7F3333 #597F33 #337F7F
split-complementary
#59337F #7F7F33 #337F33
monochromatic
#1C1028 #3A2153 #59337F #7845AB #9669C3

Accessibility & contrast

On white

9.52
#59337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#59337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59337F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59337F#FFFFFF#000000##FFFFFF
##59337F1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#524254
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #59337f;
/* rgb */ color: rgb(89, 51, 127);
/* oklch */ color: oklch(40.6% 0.126 304.5);
Tailwind
colors: {
  custom: {
    50: '#8b6ca4',
    500: '#59337f',
    950: '#000000',
  },
}
SCSS
$custom: #59337f;
$custom-light: #8b6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#59337f",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 270,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.12568,
    "h": 304.5
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#59337F
secondary
#87AB63
accent
#D25594
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #59337F

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

Preview Lab → · Contrast checker → · Palette generator →

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