#591F95#591F95

#591F95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.178 H 300.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#591F95
RGBrgb(89, 31, 149)
HSLhsl(269, 66%, 35%)
HSVhsv(269, 79%, 58%)
CMYKcmyk(40.3%, 79.2%, 0%, 41.6%)
CIE-LABlab(27.50, 48.80, -53.56)
CIE-LCHlch(27.50, 72.46, 312.34°)
OKLaboklab(39.72% 0.0904 -0.153)
OKLCHoklch(39.72% 0.178 300.6)
XYZxyz(10.0333, 5.2737, 28.9173)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F95 #5B951F
analogous
#1F2095 #591F95 #941F95
triadic
#591F95 #95591F #1F9559
tetradic
#591F95 #951F20 #5B951F #1F9594
square
#591F95 #951F20 #5B951F #1F9594
split-complementary
#591F95 #95941F #20951F
monochromatic
#1C0A30 #3B1462 #591F95 #772AC8 #9653DB

Accessibility & contrast

On white

10.22
#591F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#591F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F95
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F95#FFFFFF#000000##FFFFFF
##591F951.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#4B3F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591f95;
/* rgb */ color: rgb(89, 31, 149);
/* oklch */ color: oklch(39.7% 0.178 300.6);
Tailwind
colors: {
  custom: {
    50: '#8e62b5',
    500: '#591f95',
    950: '#000000',
  },
}
SCSS
$custom: #591f95;
$custom-light: #8e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#591f95",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 269.492,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.17772,
    "h": 300.6
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#591F95
secondary
#89BF51
accent
#E93F95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F95

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

Preview Lab → · Contrast checker → · Palette generator →

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