#59226C#59226C

#59226C is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.8% C 0.130 H 316.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#59226C
RGBrgb(89, 34, 108)
HSLhsl(285, 52%, 28%)
HSVhsv(285, 69%, 42%)
CMYKcmyk(17.6%, 68.5%, 0%, 57.6%)
CIE-LABlab(24.80, 37.63, -32.10)
CIE-LCHlch(24.80, 49.46, 319.53°)
OKLaboklab(36.8% 0.0942 -0.0901)
OKLCHoklch(36.8% 0.13 316.3)
XYZxyz(7.3982, 4.3509, 14.6345)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59226C #356C22
analogous
#34226C #59226C #6C225A
triadic
#59226C #6C5922 #226C59
tetradic
#59226C #6C3422 #356C22 #225A6C
square
#59226C #6C3422 #356C22 #225A6C
split-complementary
#59226C #5A6C22 #226C34
monochromatic
#130717 #33133D #59226C #7F319B #A344C4

Accessibility & contrast

On white

11.23
#59226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#59226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59226C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59226C#FFFFFF#000000##FFFFFF
##59226C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386E
Deuteranopia (green-blind)
#223C6A
Tritanopia (blue-blind)
#583044
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59226c;
/* rgb */ color: rgb(89, 34, 108);
/* oklch */ color: oklch(36.8% 0.130 316.3);
Tailwind
colors: {
  custom: {
    50: '#8a6196',
    500: '#59226c',
    950: '#000000',
  },
}
SCSS
$custom: #59226c;
$custom-light: #8a6196;
$custom-dark: #000000;
JSON
{
  "hex": "#59226c",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 284.595,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.13032,
    "h": 316.3
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#59226C
secondary
#60A04A
accent
#DC4C71
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #59226C

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

Preview Lab → · Contrast checker → · Palette generator →

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