#59226A#59226A

#59226A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.128 H 317.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#59226A
RGBrgb(89, 34, 106)
HSLhsl(286, 51%, 27%)
HSVhsv(286, 68%, 42%)
CMYKcmyk(16%, 67.9%, 0%, 58.4%)
CIE-LABlab(24.67, 37.18, -31.02)
CIE-LCHlch(24.67, 48.42, 320.16°)
OKLaboklab(36.67% 0.0942 -0.0869)
OKLCHoklch(36.67% 0.128 317.3)
XYZxyz(7.2930, 4.3088, 14.0804)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59226A #336A22
analogous
#35226A #59226A #6A2257
triadic
#59226A #6A5922 #226A59
tetradic
#59226A #6A3522 #336A22 #22576A
square
#59226A #6A3522 #336A22 #22576A
split-complementary
#59226A #576A22 #226A35
monochromatic
#130717 #32133C #59226A #803198 #A544C3

Accessibility & contrast

On white

11.28
#59226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#59226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59226A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59226A#FFFFFF#000000##FFFFFF
##59226A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#243C68
Tritanopia (blue-blind)
#582F43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59226a;
/* rgb */ color: rgb(89, 34, 106);
/* oklch */ color: oklch(36.7% 0.128 317.3);
Tailwind
colors: {
  custom: {
    50: '#8a6195',
    500: '#59226a',
    950: '#000000',
  },
}
SCSS
$custom: #59226a;
$custom-light: #8a6195;
$custom-dark: #000000;
JSON
{
  "hex": "#59226a",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 285.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.12819,
    "h": 317.3
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#59226A
secondary
#5E9E4A
accent
#DB4D6E
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #59226A

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

Preview Lab → · Contrast checker → · Palette generator →

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