#59226D#59226D

#59226D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.9% C 0.131 H 315.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#59226D
RGBrgb(89, 34, 109)
HSLhsl(284, 52%, 28%)
HSVhsv(284, 69%, 43%)
CMYKcmyk(18.3%, 68.8%, 0%, 57.3%)
CIE-LABlab(24.87, 37.85, -32.64)
CIE-LCHlch(24.87, 49.98, 319.23°)
OKLaboklab(36.87% 0.0942 -0.0916)
OKLCHoklch(36.87% 0.131 315.8)
XYZxyz(7.4517, 4.3723, 14.9164)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59226D #366D22
analogous
#33226D #59226D #6D225B
triadic
#59226D #6D5922 #226D59
tetradic
#59226D #6D3322 #366D22 #225B6D
square
#59226D #6D3322 #366D22 #225B6D
split-complementary
#59226D #5B6D22 #226D33
monochromatic
#130717 #33133E #59226D #7F319C #A345C5

Accessibility & contrast

On white

11.20
#59226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59226D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59226D#FFFFFF#000000##FFFFFF
##59226D1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#223D6B
Tritanopia (blue-blind)
#583044
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59226d;
/* rgb */ color: rgb(89, 34, 109);
/* oklch */ color: oklch(36.9% 0.131 315.8);
Tailwind
colors: {
  custom: {
    50: '#8b6297',
    500: '#59226d',
    950: '#000000',
  },
}
SCSS
$custom: #59226d;
$custom-light: #8b6297;
$custom-dark: #000000;
JSON
{
  "hex": "#59226d",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 284,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.13139,
    "h": 315.8
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#59226D
secondary
#61A14A
accent
#DC4C72
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #59226D

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

Preview Lab → · Contrast checker → · Palette generator →

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