#59229E#59229E

#59229E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.184 H 297.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#59229E
RGBrgb(89, 34, 158)
HSLhsl(267, 65%, 38%)
HSVhsv(267, 78%, 62%)
CMYKcmyk(43.7%, 78.5%, 0%, 38%)
CIE-LABlab(28.74, 49.80, -57.04)
CIE-LCHlch(28.74, 75.72, 311.13°)
OKLaboklab(40.83% 0.0853 -0.1633)
OKLCHoklch(40.83% 0.184 297.6)
XYZxyz(10.8618, 5.7363, 32.8761)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229E #679E22
analogous
#22299E #59229E #97229E
triadic
#59229E #9E5922 #229E59
tetradic
#59229E #9E2229 #679E22 #229E97
square
#59229E #9E2229 #679E22 #229E97
split-complementary
#59229E #9E9722 #299E22
monochromatic
#200C39 #3D176C #59229E #752DD0 #965EDC

Accessibility & contrast

On white

9.78
#59229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#59229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59229E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229E#FFFFFF#000000##FFFFFF
##59229E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#47445F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #59229e;
/* rgb */ color: rgb(89, 34, 158);
/* oklch */ color: oklch(40.8% 0.184 297.6);
Tailwind
colors: {
  custom: {
    50: '#8f64bc',
    500: '#59229e',
    950: '#000000',
  },
}
SCSS
$custom: #59229e;
$custom-light: #8f64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#59229e",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 266.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.18424,
    "h": 297.6
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#59229E
secondary
#94C15B
accent
#E8409D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229E

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

Preview Lab → · Contrast checker → · Palette generator →

#59229E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva