#591F9E#591F9E

#591F9E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.187 H 297.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#591F9E
RGBrgb(89, 31, 158)
HSLhsl(267, 67%, 37%)
HSVhsv(267, 80%, 62%)
CMYKcmyk(43.7%, 80.4%, 0%, 38%)
CIE-LABlab(28.31, 51.05, -57.75)
CIE-LCHlch(28.31, 77.08, 311.48°)
OKLaboklab(40.53% 0.0877 -0.1653)
OKLCHoklch(40.53% 0.187 297.9)
XYZxyz(10.7798, 5.5723, 32.8487)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F9E #649E1F
analogous
#1F249E #591F9E #991F9E
triadic
#591F9E #9E591F #1F9E59
tetradic
#591F9E #9E1F24 #649E1F #1F9E99
square
#591F9E #9E1F24 #649E1F #1F9E99
split-complementary
#591F9E #9E991F #249E1F
monochromatic
#1F0B38 #3C156B #591F9E #7629D1 #9659DE

Accessibility & contrast

On white

9.93
#591F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F9E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F9E#FFFFFF#000000##FFFFFF
##591F9E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#47435F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #591f9e;
/* rgb */ color: rgb(89, 31, 158);
/* oklch */ color: oklch(40.5% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#8f62bc',
    500: '#591f9e',
    950: '#000000',
  },
}
SCSS
$custom: #591f9e;
$custom-light: #8f62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#591f9e",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 267.402,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.18716,
    "h": 297.9
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #591F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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