#591987#591987

#591987 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 305.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#591987
RGBrgb(89, 25, 135)
HSLhsl(275, 69%, 31%)
HSVhsv(275, 81%, 53%)
CMYKcmyk(34.1%, 81.5%, 0%, 47.1%)
CIE-LABlab(25.47, 47.79, -48.19)
CIE-LCHlch(25.47, 67.87, 314.77°)
OKLaboklab(37.92% 0.0993 -0.1372)
OKLCHoklch(37.92% 0.169 305.9)
XYZxyz(8.8397, 4.5685, 23.3331)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591987 #478719
analogous
#221987 #591987 #87197E
triadic
#591987 #875919 #198759
tetradic
#591987 #872219 #478719 #197E87
square
#591987 #872219 #478719 #197E87
split-complementary
#591987 #7E8719 #198722
monochromatic
#150620 #370F53 #591987 #7B23BB #9A3FDB

Accessibility & contrast

On white

10.97
#591987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591987
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591987#FFFFFF#000000##FFFFFF
##5919871.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#513650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591987;
/* rgb */ color: rgb(89, 25, 135);
/* oklch */ color: oklch(37.9% 0.169 305.9);
Tailwind
colors: {
  custom: {
    50: '#8d5eab',
    500: '#591987',
    950: '#000000',
  },
}
SCSS
$custom: #591987;
$custom-light: #8d5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#591987",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 274.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.16939,
    "h": 305.9
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#591987
secondary
#74BA41
accent
#EC3C86
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591987

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

Preview Lab → · Contrast checker → · Palette generator →

#591987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva