#59229A#59229A

#59229A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.180 H 298.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#59229A
RGBrgb(89, 34, 154)
HSLhsl(268, 64%, 37%)
HSVhsv(268, 78%, 60%)
CMYKcmyk(42.2%, 77.9%, 0%, 39.6%)
CIE-LABlab(28.38, 48.79, -55.18)
CIE-LCHlch(28.38, 73.66, 311.48°)
OKLaboklab(40.47% 0.0864 -0.1578)
OKLCHoklch(40.47% 0.18 298.7)
XYZxyz(10.5231, 5.6008, 31.0922)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229A #639A22
analogous
#22279A #59229A #95229A
triadic
#59229A #9A5922 #229A59
tetradic
#59229A #9A2227 #639A22 #229A95
square
#59229A #9A2227 #639A22 #229A95
split-complementary
#59229A #9A9522 #279A22
monochromatic
#1F0C36 #3C1768 #59229A #762DCC #965BDB

Accessibility & contrast

On white

9.90
#59229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#59229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59229A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229A#FFFFFF#000000##FFFFFF
##59229A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#49425D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59229a;
/* rgb */ color: rgb(89, 34, 154);
/* oklch */ color: oklch(40.5% 0.180 298.7);
Tailwind
colors: {
  custom: {
    50: '#8e64b9',
    500: '#59229a',
    950: '#000000',
  },
}
SCSS
$custom: #59229a;
$custom-light: #8e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#59229a",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 267.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.17995,
    "h": 298.7
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#59229A
secondary
#90BF58
accent
#E7419B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229A

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

Preview Lab → · Contrast checker → · Palette generator →

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