#591F88#591F88

#591F88 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.164 H 304.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#591F88
RGBrgb(89, 31, 136)
HSLhsl(273, 63%, 33%)
HSVhsv(273, 77%, 53%)
CMYKcmyk(34.6%, 77.2%, 0%, 46.7%)
CIE-LABlab(26.39, 45.61, -47.30)
CIE-LCHlch(26.39, 65.71, 313.95°)
OKLaboklab(38.6% 0.0937 -0.1347)
OKLCHoklch(38.6% 0.164 304.8)
XYZxyz(9.0527, 4.8814, 23.7531)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F88 #4E881F
analogous
#251F88 #591F88 #881F82
triadic
#591F88 #88591F #1F8859
tetradic
#591F88 #88251F #4E881F #1F8288
square
#591F88 #88251F #4E881F #1F8288
split-complementary
#591F88 #82881F #1F8825
monochromatic
#180824 #381456 #591F88 #7A2ABA #984BD6

Accessibility & contrast

On white

10.63
#591F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#591F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F88
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F88#FFFFFF#000000##FFFFFF
##591F881.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591f88;
/* rgb */ color: rgb(89, 31, 136);
/* oklch */ color: oklch(38.6% 0.164 304.8);
Tailwind
colors: {
  custom: {
    50: '#8d61ab',
    500: '#591f88',
    950: '#000000',
  },
}
SCSS
$custom: #591f88;
$custom-light: #8d61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#591f88",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 273.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.386,
    "c": 0.16406,
    "h": 304.8
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#591F88
secondary
#7CB94A
accent
#E6428B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F88

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

Preview Lab → · Contrast checker → · Palette generator →

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