#591F87#591F87

#591F87 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.163 H 305.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#591F87
RGBrgb(89, 31, 135)
HSLhsl(273, 63%, 33%)
HSVhsv(273, 77%, 53%)
CMYKcmyk(34.1%, 77%, 0%, 47.1%)
CIE-LABlab(26.31, 45.37, -46.81)
CIE-LCHlch(26.31, 65.19, 314.10°)
OKLaboklab(38.52% 0.0939 -0.1332)
OKLCHoklch(38.52% 0.163 305.2)
XYZxyz(8.9820, 4.8531, 23.3805)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F87 #4D871F
analogous
#251F87 #591F87 #871F81
triadic
#591F87 #87591F #1F8759
tetradic
#591F87 #87251F #4D871F #1F8187
square
#591F87 #87251F #4D871F #1F8187
split-complementary
#591F87 #81871F #1F8725
monochromatic
#170823 #381455 #591F87 #7A2AB9 #984BD6

Accessibility & contrast

On white

10.66
#591F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#591F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F87
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F87#FFFFFF#000000##FFFFFF
##591F871.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#503952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591f87;
/* rgb */ color: rgb(89, 31, 135);
/* oklch */ color: oklch(38.5% 0.163 305.2);
Tailwind
colors: {
  custom: {
    50: '#8d61ab',
    500: '#591f87',
    950: '#000000',
  },
}
SCSS
$custom: #591f87;
$custom-light: #8d61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#591f87",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 273.462,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.16301,
    "h": 305.2
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#591F87
secondary
#7BB84A
accent
#E6428A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F87

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

Preview Lab → · Contrast checker → · Palette generator →

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