#59228F#59228F

#59228F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.168 H 302.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#59228F
RGBrgb(89, 34, 143)
HSLhsl(270, 62%, 35%)
HSVhsv(270, 76%, 56%)
CMYKcmyk(37.8%, 76.2%, 0%, 43.9%)
CIE-LABlab(27.44, 46.01, -49.96)
CIE-LCHlch(27.44, 67.92, 312.65°)
OKLaboklab(39.52% 0.0892 -0.1425)
OKLCHoklch(39.52% 0.168 302)
XYZxyz(9.6486, 5.2510, 26.4865)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228F #588F22
analogous
#22228F #59228F #8F228F
triadic
#59228F #8F5922 #228F59
tetradic
#59228F #8F2222 #588F22 #228F8F
square
#59228F #8F2222 #588F22 #228F8F
split-complementary
#59228F #8F8F22 #228F22
monochromatic
#1B0A2C #3A165E #59228F #782EC0 #9655D7

Accessibility & contrast

On white

10.24
#59228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#59228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59228F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228F#FFFFFF#000000##FFFFFF
##59228F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4D3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59228f;
/* rgb */ color: rgb(89, 34, 143);
/* oklch */ color: oklch(39.5% 0.168 302.0);
Tailwind
colors: {
  custom: {
    50: '#8d63b1',
    500: '#59228f',
    950: '#000000',
  },
}
SCSS
$custom: #59228f;
$custom-light: #8d63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#59228f",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 270.275,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.16811,
    "h": 302
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#59228F
secondary
#86BA52
accent
#E54393
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59228F

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

Preview Lab → · Contrast checker → · Palette generator →

#59228F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva