#59317D#59317D

#59317D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.126 H 305.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#59317D
RGBrgb(89, 49, 125)
HSLhsl(272, 44%, 34%)
HSVhsv(272, 61%, 49%)
CMYKcmyk(28.8%, 60.8%, 0%, 51%)
CIE-LABlab(28.91, 33.65, -36.36)
CIE-LCHlch(28.91, 49.54, 312.79°)
OKLaboklab(40.14% 0.0738 -0.1026)
OKLCHoklch(40.14% 0.126 305.7)
XYZxyz(8.9190, 5.8012, 20.0479)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59317D #557D31
analogous
#33317D #59317D #7D317B
triadic
#59317D #7D5931 #317D59
tetradic
#59317D #7D3331 #557D31 #317B7D
square
#59317D #7D3331 #557D31 #317B7D
split-complementary
#59317D #7B7D31 #317D33
monochromatic
#1A0F25 #3A2051 #59317D #7842A9 #9766C3

Accessibility & contrast

On white

9.72
#59317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#59317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59317D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59317D#FFFFFF#000000##FFFFFF
##59317D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#534052
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #59317d;
/* rgb */ color: rgb(89, 49, 125);
/* oklch */ color: oklch(40.1% 0.126 305.7);
Tailwind
colors: {
  custom: {
    50: '#8b6ba3',
    500: '#59317d',
    950: '#000000',
  },
}
SCSS
$custom: #59317d;
$custom-light: #8b6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#59317d",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 271.579,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.12642,
    "h": 305.7
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#59317D
secondary
#83AA60
accent
#D35491
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #59317D

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

Preview Lab → · Contrast checker → · Palette generator →

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