#59337D#59337D

#59337D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.123 H 305.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#59337D
RGBrgb(89, 51, 125)
HSLhsl(271, 42%, 35%)
HSVhsv(271, 59%, 49%)
CMYKcmyk(28.8%, 59.2%, 0%, 51%)
CIE-LABlab(29.34, 32.49, -35.66)
CIE-LCHlch(29.34, 48.24, 312.34°)
OKLaboklab(40.47% 0.0711 -0.1006)
OKLCHoklch(40.47% 0.123 305.3)
XYZxyz(9.0045, 5.9722, 20.0764)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59337D #577D33
analogous
#34337D #59337D #7D337C
triadic
#59337D #7D5933 #337D59
tetradic
#59337D #7D3433 #577D33 #337C7D
square
#59337D #7D3433 #577D33 #337C7D
split-complementary
#59337D #7C7D33 #337D34
monochromatic
#1B1026 #3A2152 #59337D #7845A8 #9669C2

Accessibility & contrast

On white

9.57
#59337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#59337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59337D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59337D#FFFFFF#000000##FFFFFF
##59337D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#534153
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #59337d;
/* rgb */ color: rgb(89, 51, 125);
/* oklch */ color: oklch(40.5% 0.123 305.3);
Tailwind
colors: {
  custom: {
    50: '#8a6ca3',
    500: '#59337d',
    950: '#000000',
  },
}
SCSS
$custom: #59337d;
$custom-light: #8a6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#59337d",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 270.811,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.12315,
    "h": 305.3
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#59337D
secondary
#85AA62
accent
#D25692
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #59337D

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

Preview Lab → · Contrast checker → · Palette generator →

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