#591F8F#591F8F

#591F8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.171 H 302.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#591F8F
RGBrgb(89, 31, 143)
HSLhsl(271, 64%, 34%)
HSVhsv(271, 78%, 56%)
CMYKcmyk(37.8%, 78.3%, 0%, 43.9%)
CIE-LABlab(26.98, 47.32, -50.70)
CIE-LCHlch(26.98, 69.35, 313.02°)
OKLaboklab(39.2% 0.092 -0.1447)
OKLCHoklch(39.2% 0.171 302.5)
XYZxyz(9.5665, 5.0870, 26.4592)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8F #558F1F
analogous
#211F8F #591F8F #8F1F8D
triadic
#591F8F #8F591F #1F8F59
tetradic
#591F8F #8F211F #558F1F #1F8D8F
square
#591F8F #8F211F #558F1F #1F8D8F
split-complementary
#591F8F #8D8F1F #1F8F21
monochromatic
#1A092A #3A145D #591F8F #782AC1 #974FD9

Accessibility & contrast

On white

10.41
#591F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#591F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F8F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8F#FFFFFF#000000##FFFFFF
##591F8F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#4E3C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591f8f;
/* rgb */ color: rgb(89, 31, 143);
/* oklch */ color: oklch(39.2% 0.171 302.5);
Tailwind
colors: {
  custom: {
    50: '#8d62b1',
    500: '#591f8f',
    950: '#000000',
  },
}
SCSS
$custom: #591f8f;
$custom-light: #8d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8f",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 271.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.17143,
    "h": 302.5
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#591F8F
secondary
#83BC4E
accent
#E74091
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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