#59337A#59337A

#59337A is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.3% C 0.119 H 306.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#59337A
RGBrgb(89, 51, 122)
HSLhsl(272, 41%, 34%)
HSVhsv(272, 58%, 48%)
CMYKcmyk(27%, 58.2%, 0%, 52.2%)
CIE-LABlab(29.15, 31.72, -34.08)
CIE-LCHlch(29.15, 46.55, 312.95°)
OKLaboklab(40.26% 0.071 -0.0959)
OKLCHoklch(40.26% 0.119 306.5)
XYZxyz(8.8158, 5.8967, 19.0823)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59337A #547A33
analogous
#36337A #59337A #7A3378
triadic
#59337A #7A5933 #337A59
tetradic
#59337A #7A3633 #547A33 #33787A
square
#59337A #7A3633 #547A33 #33787A
split-complementary
#59337A #787A33 #337A36
monochromatic
#1A0F24 #3A214F #59337A #7845A5 #9768C0

Accessibility & contrast

On white

9.64
#59337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#59337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59337A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59337A#FFFFFF#000000##FFFFFF
##59337A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#284578
Tritanopia (blue-blind)
#544051
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #59337a;
/* rgb */ color: rgb(89, 51, 122);
/* oklch */ color: oklch(40.3% 0.119 306.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ca1',
    500: '#59337a',
    950: '#000000',
  },
}
SCSS
$custom: #59337a;
$custom-light: #8a6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#59337a",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 272.113,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.11935,
    "h": 306.5
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#59337A
secondary
#82A861
accent
#D15790
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #59337A

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

Preview Lab → · Contrast checker → · Palette generator →

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