#59229D#59229D

#59229D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.183 H 297.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#59229D
RGBrgb(89, 34, 157)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 62%)
CMYKcmyk(43.3%, 78.3%, 0%, 38.4%)
CIE-LABlab(28.65, 49.55, -56.58)
CIE-LCHlch(28.65, 75.21, 311.21°)
OKLaboklab(40.74% 0.0856 -0.1619)
OKLCHoklch(40.74% 0.183 297.9)
XYZxyz(10.7761, 5.7020, 32.4246)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229D #669D22
analogous
#22299D #59229D #96229D
triadic
#59229D #9D5922 #229D59
tetradic
#59229D #9D2229 #669D22 #229D96
square
#59229D #9D2229 #669D22 #229D96
split-complementary
#59229D #9D9622 #299D22
monochromatic
#200C38 #3C176B #59229D #762DCF #965DDC

Accessibility & contrast

On white

9.81
#59229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#59229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59229D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229D#FFFFFF#000000##FFFFFF
##59229D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#48435F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #59229d;
/* rgb */ color: rgb(89, 34, 157);
/* oklch */ color: oklch(40.7% 0.183 297.9);
Tailwind
colors: {
  custom: {
    50: '#8f64bb',
    500: '#59229d',
    950: '#000000',
  },
}
SCSS
$custom: #59229d;
$custom-light: #8f64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#59229d",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 266.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.18316,
    "h": 297.9
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#59229D
secondary
#93C15A
accent
#E7409D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229D

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

Preview Lab → · Contrast checker → · Palette generator →

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