#591E9D#591E9D

#591E9D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.187 H 298.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#591E9D
RGBrgb(89, 30, 157)
HSLhsl(268, 68%, 37%)
HSVhsv(268, 81%, 62%)
CMYKcmyk(43.3%, 80.9%, 0%, 38.4%)
CIE-LABlab(28.08, 51.20, -57.51)
CIE-LCHlch(28.08, 77.00, 311.68°)
OKLaboklab(40.34% 0.0888 -0.1646)
OKLCHoklch(40.34% 0.187 298.3)
XYZxyz(10.6683, 5.4865, 32.3887)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E9D #629D1E
analogous
#1E239D #591E9D #991E9D
triadic
#591E9D #9D591E #1E9D59
tetradic
#591E9D #9D1E23 #629D1E #1E9D99
square
#591E9D #9D1E23 #629D1E #1E9D99
split-complementary
#591E9D #9D991E #239D1E
monochromatic
#1F0A36 #3C146A #591E9D #7628D0 #9657DF

Accessibility & contrast

On white

10.01
#591E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#591E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E9D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E9D#FFFFFF#000000##FFFFFF
##591E9D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#48425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591e9d;
/* rgb */ color: rgb(89, 30, 157);
/* oklch */ color: oklch(40.3% 0.187 298.3);
Tailwind
colors: {
  custom: {
    50: '#8f62bb',
    500: '#591e9d',
    950: '#000000',
  },
}
SCSS
$custom: #591e9d;
$custom-light: #8f62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#591e9d",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 267.874,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.18705,
    "h": 298.3
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#591E9D
secondary
#8FC254
accent
#EB3D9A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #591E9D

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

Preview Lab → · Contrast checker → · Palette generator →

#591E9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva