#59229F#59229F

#59229F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.185 H 297.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#59229F
RGBrgb(89, 34, 159)
HSLhsl(266, 65%, 38%)
HSVhsv(266, 79%, 62%)
CMYKcmyk(44%, 78.6%, 0%, 37.6%)
CIE-LABlab(28.83, 50.06, -57.50)
CIE-LCHlch(28.83, 76.24, 311.04°)
OKLaboklab(40.92% 0.085 -0.1646)
OKLCHoklch(40.92% 0.185 297.3)
XYZxyz(10.9482, 5.7709, 33.3312)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59229F #689F22
analogous
#22299F #59229F #97229F
triadic
#59229F #9F5922 #229F59
tetradic
#59229F #9F2229 #689F22 #229F97
square
#59229F #9F2229 #689F22 #229F97
split-complementary
#59229F #9F9722 #299F22
monochromatic
#210C3A #3D176D #59229F #752DD1 #965FDD

Accessibility & contrast

On white

9.75
#59229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#59229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59229F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59229F#FFFFFF#000000##FFFFFF
##59229F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#474460
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #59229f;
/* rgb */ color: rgb(89, 34, 159);
/* oklch */ color: oklch(40.9% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#8f64bc',
    500: '#59229f',
    950: '#000000',
  },
}
SCSS
$custom: #59229f;
$custom-light: #8f64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#59229f",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 266.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.1853,
    "h": 297.3
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#59229F
secondary
#95C15B
accent
#E8409E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #59229F

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

Preview Lab → · Contrast checker → · Palette generator →

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