#591F81#591F81

#591F81 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.157 H 307.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#591F81
RGBrgb(89, 31, 129)
HSLhsl(276, 61%, 31%)
HSVhsv(276, 76%, 51%)
CMYKcmyk(31%, 76%, 0%, 49.4%)
CIE-LABlab(25.83, 43.92, -43.83)
CIE-LCHlch(25.83, 62.05, 315.06°)
OKLaboklab(38.02% 0.0952 -0.1245)
OKLCHoklch(38.02% 0.157 307.4)
XYZxyz(8.5714, 4.6889, 21.2181)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F81 #47811F
analogous
#281F81 #591F81 #811F78
triadic
#591F81 #81591F #1F8159
tetradic
#591F81 #81281F #47811F #1F7881
square
#591F81 #81281F #47811F #1F7881
split-complementary
#591F81 #78811F #1F8128
monochromatic
#15071E #371350 #591F81 #7B2BB2 #9A47D3

Accessibility & contrast

On white

10.84
#591F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#591F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F81
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F81#FFFFFF#000000##FFFFFF
##591F811.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#52364E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591f81;
/* rgb */ color: rgb(89, 31, 129);
/* oklch */ color: oklch(38.0% 0.157 307.4);
Tailwind
colors: {
  custom: {
    50: '#8c61a6',
    500: '#591f81',
    950: '#000000',
  },
}
SCSS
$custom: #591f81;
$custom-light: #8c61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#591f81",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 275.51,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.15668,
    "h": 307.4
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#591F81
secondary
#74B448
accent
#E44385
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F81

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

Preview Lab → · Contrast checker → · Palette generator →

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