#591F9D#591F9D

#591F9D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.186 H 298.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#591F9D
RGBrgb(89, 31, 157)
HSLhsl(268, 67%, 37%)
HSVhsv(268, 80%, 62%)
CMYKcmyk(43.3%, 80.3%, 0%, 38.4%)
CIE-LABlab(28.22, 50.80, -57.29)
CIE-LCHlch(28.22, 76.56, 311.56°)
OKLaboklab(40.44% 0.088 -0.164)
OKLCHoklch(40.44% 0.186 298.2)
XYZxyz(10.6940, 5.5380, 32.3973)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F9D #639D1F
analogous
#1F249D #591F9D #981F9D
triadic
#591F9D #9D591F #1F9D59
tetradic
#591F9D #9D1F24 #639D1F #1F9D98
square
#591F9D #9D1F24 #639D1F #1F9D98
split-complementary
#591F9D #9D981F #249D1F
monochromatic
#1F0B37 #3C156A #591F9D #7629D0 #9658DE

Accessibility & contrast

On white

9.96
#591F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#591F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F9D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F9D#FFFFFF#000000##FFFFFF
##591F9D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591f9d;
/* rgb */ color: rgb(89, 31, 157);
/* oklch */ color: oklch(40.4% 0.186 298.2);
Tailwind
colors: {
  custom: {
    50: '#8f62bb',
    500: '#591f9d',
    950: '#000000',
  },
}
SCSS
$custom: #591f9d;
$custom-light: #8f62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#591f9d",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 267.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.18611,
    "h": 298.2
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#591F9D
secondary
#90C256
accent
#EA3E9B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #591F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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