#591F7F#591F7F

#591F7F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.155 H 308.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#591F7F
RGBrgb(89, 31, 127)
HSLhsl(276, 61%, 31%)
HSVhsv(276, 76%, 50%)
CMYKcmyk(29.9%, 75.6%, 0%, 50.2%)
CIE-LABlab(25.67, 43.44, -42.83)
CIE-LCHlch(25.67, 61.00, 315.41°)
OKLaboklab(37.86% 0.0956 -0.1215)
OKLCHoklch(37.86% 0.155 308.2)
XYZxyz(8.4398, 4.6363, 20.5248)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7F #457F1F
analogous
#291F7F #591F7F #7F1F75
triadic
#591F7F #7F591F #1F7F59
tetradic
#591F7F #7F291F #457F1F #1F757F
square
#591F7F #7F291F #457F1F #1F757F
split-complementary
#591F7F #757F1F #1F7F29
monochromatic
#14071D #37134E #591F7F #7B2BB0 #9B46D2

Accessibility & contrast

On white

10.90
#591F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#591F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F7F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7F#FFFFFF#000000##FFFFFF
##591F7F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#53364D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591f7f;
/* rgb */ color: rgb(89, 31, 127);
/* oklch */ color: oklch(37.9% 0.155 308.2);
Tailwind
colors: {
  custom: {
    50: '#8c61a5',
    500: '#591f7f',
    950: '#000000',
  },
}
SCSS
$custom: #591f7f;
$custom-light: #8c61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7f",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 276.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.15459,
    "h": 308.2
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#591F7F
secondary
#72B248
accent
#E44483
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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