#591B8E#591B8E

#591B8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.174 H 303.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#591B8E
RGBrgb(89, 27, 142)
HSLhsl(272, 68%, 33%)
HSVhsv(272, 81%, 56%)
CMYKcmyk(37.3%, 81%, 0%, 44.3%)
CIE-LABlab(26.33, 48.69, -51.14)
CIE-LCHlch(26.33, 70.61, 313.60°)
OKLaboklab(38.72% 0.0957 -0.1459)
OKLCHoklch(38.72% 0.174 303.3)
XYZxyz(9.3931, 4.8607, 26.0293)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8E #508E1B
analogous
#201B8E #591B8E #8E1B89
triadic
#591B8E #8E591B #1B8E59
tetradic
#591B8E #8E201B #508E1B #1B898E
square
#591B8E #8E201B #508E1B #1B898E
split-complementary
#591B8E #898E1B #1B8E20
monochromatic
#190727 #39115B #591B8E #7925C1 #9847DC

Accessibility & contrast

On white

10.65
#591B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591B8E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B8E#FFFFFF#000000##FFFFFF
##591B8E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#4E3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591b8e;
/* rgb */ color: rgb(89, 27, 142);
/* oklch */ color: oklch(38.7% 0.174 303.3);
Tailwind
colors: {
  custom: {
    50: '#8e60b0',
    500: '#591b8e',
    950: '#000000',
  },
}
SCSS
$custom: #591b8e;
$custom-light: #8e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8e",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 272.348,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38716,
    "c": 0.17449,
    "h": 303.3
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#591B8E
secondary
#7EBE47
accent
#EB3D8D
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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