#59337C#59337C

#59337C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.122 H 305.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#59337C
RGBrgb(89, 51, 124)
HSLhsl(271, 42%, 34%)
HSVhsv(271, 59%, 49%)
CMYKcmyk(28.2%, 58.9%, 0%, 51.4%)
CIE-LABlab(29.28, 32.23, -35.13)
CIE-LCHlch(29.28, 47.68, 312.54°)
OKLaboklab(40.4% 0.0711 -0.099)
OKLCHoklch(40.4% 0.122 305.7)
XYZxyz(8.9410, 5.9468, 19.7417)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59337C #567C33
analogous
#35337C #59337C #7C337B
triadic
#59337C #7C5933 #337C59
tetradic
#59337C #7C3533 #567C33 #337B7C
square
#59337C #7C3533 #567C33 #337B7C
split-complementary
#59337C #7B7C33 #337C35
monochromatic
#1B0F25 #3A2151 #59337C #7845A7 #9768C1

Accessibility & contrast

On white

9.59
#59337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59337C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59337C#FFFFFF#000000##FFFFFF
##59337C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#534152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #59337c;
/* rgb */ color: rgb(89, 51, 124);
/* oklch */ color: oklch(40.4% 0.122 305.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ca2',
    500: '#59337c',
    950: '#000000',
  },
}
SCSS
$custom: #59337c;
$custom-light: #8a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#59337c",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 271.233,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.12188,
    "h": 305.7
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#59337C
secondary
#84A962
accent
#D25691
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #59337C

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

Preview Lab → · Contrast checker → · Palette generator →

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