#59229C#59229C

#59229C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.182 H 298.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#59229C
RGBrgb(89, 34, 156)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 61%)
CMYKcmyk(42.9%, 78.2%, 0%, 38.8%)
CIE-LABlab(28.56, 49.29, -56.11)
CIE-LCHlch(28.56, 74.69, 311.30°)
OKLaboklab(40.65% 0.0859 -0.1606)
OKLCHoklch(40.65% 0.182 298.1)
XYZxyz(10.6910, 5.6680, 31.9768)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229C #659C22
analogous
#22289C #59229C #96229C
triadic
#59229C #9C5922 #229C59
tetradic
#59229C #9C2228 #659C22 #229C96
square
#59229C #9C2228 #659C22 #229C96
split-complementary
#59229C #9C9622 #289C22
monochromatic
#200C38 #3C176A #59229C #762DCE #965DDC

Accessibility & contrast

On white

9.84
#59229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59229C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229C#FFFFFF#000000##FFFFFF
##59229C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#48435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59229c;
/* rgb */ color: rgb(89, 34, 156);
/* oklch */ color: oklch(40.6% 0.182 298.1);
Tailwind
colors: {
  custom: {
    50: '#8f64ba',
    500: '#59229c',
    950: '#000000',
  },
}
SCSS
$custom: #59229c;
$custom-light: #8f64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#59229c",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 267.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.1821,
    "h": 298.1
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#59229C
secondary
#92C05A
accent
#E7419C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229C

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

Preview Lab → · Contrast checker → · Palette generator →

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