#591B95#591B95

#591B95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.182 H 301.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#591B95
RGBrgb(89, 27, 149)
HSLhsl(270, 69%, 35%)
HSVhsv(270, 82%, 58%)
CMYKcmyk(40.3%, 81.9%, 0%, 41.6%)
CIE-LABlab(26.95, 50.38, -54.45)
CIE-LCHlch(26.95, 74.18, 312.78°)
OKLaboklab(39.34% 0.0936 -0.1556)
OKLCHoklch(39.34% 0.182 301)
XYZxyz(9.9352, 5.0776, 28.8846)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B95 #57951B
analogous
#1C1B95 #591B95 #951B94
triadic
#591B95 #95591B #1B9559
tetradic
#591B95 #951C1B #57951B #1B9495
square
#591B95 #951C1B #57951B #1B9495
split-complementary
#591B95 #94951B #1B951C
monochromatic
#1B082D #3A1261 #591B95 #7824C9 #964CDF

Accessibility & contrast

On white

10.42
#591B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#591B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B95#FFFFFF#000000##FFFFFF
##591B951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#4B3D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591b95;
/* rgb */ color: rgb(89, 27, 149);
/* oklch */ color: oklch(39.3% 0.182 301.0);
Tailwind
colors: {
  custom: {
    50: '#8e60b5',
    500: '#591b95',
    950: '#000000',
  },
}
SCSS
$custom: #591b95;
$custom-light: #8e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#591b95",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 270.492,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.1816,
    "h": 301
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#591B95
secondary
#85C14B
accent
#EC3C92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591B95

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

Preview Lab → · Contrast checker → · Palette generator →

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