#59229B#59229B

#59229B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.181 H 298.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#59229B
RGBrgb(89, 34, 155)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 61%)
CMYKcmyk(42.6%, 78.1%, 0%, 39.2%)
CIE-LABlab(28.47, 49.04, -55.65)
CIE-LCHlch(28.47, 74.17, 311.39°)
OKLaboklab(40.56% 0.0862 -0.1592)
OKLCHoklch(40.56% 0.181 298.4)
XYZxyz(10.6067, 5.6343, 31.5327)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229B #649B22
analogous
#22279B #59229B #96229B
triadic
#59229B #9B5922 #229B59
tetradic
#59229B #9B2227 #649B22 #229B96
square
#59229B #9B2227 #649B22 #229B96
split-complementary
#59229B #9B9622 #279B22
monochromatic
#1F0C37 #3C1769 #59229B #762DCD #965CDB

Accessibility & contrast

On white

9.87
#59229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#59229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59229B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229B#FFFFFF#000000##FFFFFF
##59229B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#48435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59229b;
/* rgb */ color: rgb(89, 34, 155);
/* oklch */ color: oklch(40.6% 0.181 298.4);
Tailwind
colors: {
  custom: {
    50: '#8f64b9',
    500: '#59229b',
    950: '#000000',
  },
}
SCSS
$custom: #59229b;
$custom-light: #8f64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#59229b",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 267.273,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.18102,
    "h": 298.4
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#59229B
secondary
#91C059
accent
#E7419B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229B

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

Preview Lab → · Contrast checker → · Palette generator →

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