#591F8E#591F8E

#591F8E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.170 H 302.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#591F8E
RGBrgb(89, 31, 142)
HSLhsl(271, 64%, 34%)
HSVhsv(271, 78%, 56%)
CMYKcmyk(37.3%, 78.2%, 0%, 44.3%)
CIE-LABlab(26.90, 47.07, -50.22)
CIE-LCHlch(26.90, 68.83, 313.15°)
OKLaboklab(39.11% 0.0922 -0.1432)
OKLCHoklch(39.11% 0.17 302.8)
XYZxyz(9.4911, 5.0568, 26.0620)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8E #548E1F
analogous
#211F8E #591F8E #8E1F8C
triadic
#591F8E #8E591F #1F8E59
tetradic
#591F8E #8E211F #548E1F #1F8C8E
square
#591F8E #8E211F #548E1F #1F8C8E
split-complementary
#591F8E #8C8E1F #1F8E21
monochromatic
#1A092A #3A145C #591F8E #782AC0 #974FD9

Accessibility & contrast

On white

10.44
#591F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F8E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8E#FFFFFF#000000##FFFFFF
##591F8E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#4E3C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591f8e;
/* rgb */ color: rgb(89, 31, 142);
/* oklch */ color: oklch(39.1% 0.170 302.8);
Tailwind
colors: {
  custom: {
    50: '#8d61b0',
    500: '#591f8e',
    950: '#000000',
  },
}
SCSS
$custom: #591f8e;
$custom-light: #8d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8e",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 271.351,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.17038,
    "h": 302.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#591F8E
secondary
#82BB4D
accent
#E74190
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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