#591F93#591F93

#591F93 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.176 H 301.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#591F93
RGBrgb(89, 31, 147)
HSLhsl(270, 65%, 35%)
HSVhsv(270, 79%, 58%)
CMYKcmyk(39.5%, 78.9%, 0%, 42.4%)
CIE-LABlab(27.33, 48.31, -52.61)
CIE-LCHlch(27.33, 71.42, 312.56°)
OKLaboklab(39.54% 0.0909 -0.1503)
OKLCHoklch(39.54% 0.176 301.2)
XYZxyz(9.8750, 5.2103, 28.0835)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F93 #59931F
analogous
#1F1F93 #591F93 #931F93
triadic
#591F93 #93591F #1F9359
tetradic
#591F93 #931F1F #59931F #1F9393
square
#591F93 #931F1F #59931F #1F9393
split-complementary
#591F93 #93931F #1F931F
monochromatic
#1C0A2E #3A1460 #591F93 #782AC6 #9652DA

Accessibility & contrast

On white

10.28
#591F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#591F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F93
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F93#FFFFFF#000000##FFFFFF
##591F931.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#4C3E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591f93;
/* rgb */ color: rgb(89, 31, 147);
/* oklch */ color: oklch(39.5% 0.176 301.2);
Tailwind
colors: {
  custom: {
    50: '#8e62b4',
    500: '#591f93',
    950: '#000000',
  },
}
SCSS
$custom: #591f93;
$custom-light: #8e62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#591f93",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 270,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.17563,
    "h": 301.2
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#591F93
secondary
#87BE50
accent
#E84094
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F93

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

Preview Lab → · Contrast checker → · Palette generator →

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