#591B7F#591B7F

#591B7F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.159 H 308.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#591B7F
RGBrgb(89, 27, 127)
HSLhsl(277, 65%, 30%)
HSVhsv(277, 79%, 50%)
CMYKcmyk(29.9%, 78.7%, 0%, 50.2%)
CIE-LABlab(25.08, 45.15, -43.79)
CIE-LCHlch(25.08, 62.90, 315.87°)
OKLaboklab(37.44% 0.0995 -0.1243)
OKLCHoklch(37.44% 0.159 308.7)
XYZxyz(8.3417, 4.4402, 20.4922)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B7F #417F1B
analogous
#271B7F #591B7F #7F1B73
triadic
#591B7F #7F591B #1B7F59
tetradic
#591B7F #7F271B #417F1B #1B737F
square
#591B7F #7F271B #417F1B #1B737F
split-complementary
#591B7F #737F1B #1B7F27
monochromatic
#12061A #36104D #591B7F #7C26B1 #9C3ED6

Accessibility & contrast

On white

11.12
#591B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#591B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B7F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B7F#FFFFFF#000000##FFFFFF
##591B7F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#53334C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591b7f;
/* rgb */ color: rgb(89, 27, 127);
/* oklch */ color: oklch(37.4% 0.159 308.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fa5',
    500: '#591b7f',
    950: '#000000',
  },
}
SCSS
$custom: #591b7f;
$custom-light: #8c5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#591b7f",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 277.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.15925,
    "h": 308.7
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#591B7F
secondary
#6DB343
accent
#E84080
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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