#591F8B#591F8B

#591F8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.167 H 303.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#591F8B
RGBrgb(89, 31, 139)
HSLhsl(272, 64%, 33%)
HSVhsv(272, 78%, 55%)
CMYKcmyk(36%, 77.7%, 0%, 45.5%)
CIE-LABlab(26.64, 46.34, -48.77)
CIE-LCHlch(26.64, 67.27, 313.54°)
OKLaboklab(38.85% 0.093 -0.139)
OKLCHoklch(38.85% 0.167 303.8)
XYZxyz(9.2689, 4.9679, 24.8917)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8B #518B1F
analogous
#231F8B #591F8B #8B1F87
triadic
#591F8B #8B591F #1F8B59
tetradic
#591F8B #8B231F #518B1F #1F878B
square
#591F8B #8B231F #518B1F #1F878B
split-complementary
#591F8B #878B1F #1F8B23
monochromatic
#190927 #391459 #591F8B #792ABD #974DD7

Accessibility & contrast

On white

10.53
#591F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#591F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F8B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8B#FFFFFF#000000##FFFFFF
##591F8B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#4F3B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591f8b;
/* rgb */ color: rgb(89, 31, 139);
/* oklch */ color: oklch(38.9% 0.167 303.8);
Tailwind
colors: {
  custom: {
    50: '#8d61ae',
    500: '#591f8b',
    950: '#000000',
  },
}
SCSS
$custom: #591f8b;
$custom-light: #8d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8b",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 272.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.16722,
    "h": 303.8
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#591F8B
secondary
#7FBA4C
accent
#E7418E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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