#591E9B#591E9B

#591E9B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.185 H 298.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#591E9B
RGBrgb(89, 30, 155)
HSLhsl(268, 68%, 36%)
HSVhsv(268, 81%, 61%)
CMYKcmyk(42.6%, 80.6%, 0%, 39.2%)
CIE-LABlab(27.90, 50.70, -56.59)
CIE-LCHlch(27.90, 75.98, 311.86°)
OKLaboklab(40.16% 0.0894 -0.1619)
OKLCHoklch(40.16% 0.185 298.9)
XYZxyz(10.4990, 5.4188, 31.4968)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E9B #609B1E
analogous
#1E229B #591E9B #981E9B
triadic
#591E9B #9B591E #1E9B59
tetradic
#591E9B #9B1E22 #609B1E #1E9B98
square
#591E9B #9B1E22 #609B1E #1E9B98
split-complementary
#591E9B #9B981E #229B1E
monochromatic
#1E0A34 #3C1468 #591E9B #7628CE #9655DE

Accessibility & contrast

On white

10.08
#591E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#591E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E9B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E9B#FFFFFF#000000##FFFFFF
##591E9B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#49415D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591e9b;
/* rgb */ color: rgb(89, 30, 155);
/* oklch */ color: oklch(40.2% 0.185 298.9);
Tailwind
colors: {
  custom: {
    50: '#8f62b9',
    500: '#591e9b',
    950: '#000000',
  },
}
SCSS
$custom: #591e9b;
$custom-light: #8f62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#591e9b",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 268.32,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.18498,
    "h": 298.9
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#591E9B
secondary
#8DC253
accent
#EA3D99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #591E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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