#591F8D#591F8D

#591F8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.169 H 303.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#591F8D
RGBrgb(89, 31, 141)
HSLhsl(272, 64%, 34%)
HSVhsv(272, 78%, 55%)
CMYKcmyk(36.9%, 78%, 0%, 44.7%)
CIE-LABlab(26.81, 46.83, -49.74)
CIE-LCHlch(26.81, 68.31, 313.27°)
OKLaboklab(39.02% 0.0925 -0.1418)
OKLCHoklch(39.02% 0.169 303.1)
XYZxyz(9.4164, 5.0269, 25.6683)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8D #538D1F
analogous
#221F8D #591F8D #8D1F8A
triadic
#591F8D #8D591F #1F8D59
tetradic
#591F8D #8D221F #538D1F #1F8A8D
square
#591F8D #8D221F #538D1F #1F8A8D
split-complementary
#591F8D #8A8D1F #1F8D22
monochromatic
#1A0929 #39145B #591F8D #792ABF #974ED8

Accessibility & contrast

On white

10.47
#591F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#591F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F8D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8D#FFFFFF#000000##FFFFFF
##591F8D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#4E3B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591f8d;
/* rgb */ color: rgb(89, 31, 141);
/* oklch */ color: oklch(39.0% 0.169 303.1);
Tailwind
colors: {
  custom: {
    50: '#8d61af',
    500: '#591f8d',
    950: '#000000',
  },
}
SCSS
$custom: #591f8d;
$custom-light: #8d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8d",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 271.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.16932,
    "h": 303.1
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#591F8D
secondary
#81BB4D
accent
#E7418F
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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