#591E7B#591E7B

#591E7B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.152 H 309.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#591E7B
RGBrgb(89, 30, 123)
HSLhsl(278, 61%, 30%)
HSVhsv(278, 76%, 48%)
CMYKcmyk(27.6%, 75.6%, 0%, 51.8%)
CIE-LABlab(25.21, 42.95, -41.05)
CIE-LCHlch(25.21, 59.41, 316.29°)
OKLaboklab(37.44% 0.0973 -0.1163)
OKLCHoklch(37.44% 0.152 309.9)
XYZxyz(8.1585, 4.4826, 19.1705)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E7B #407B1E
analogous
#2B1E7B #591E7B #7B1E6E
triadic
#591E7B #7B591E #1E7B59
tetradic
#591E7B #7B2B1E #407B1E #1E6E7B
square
#591E7B #7B2B1E #407B1E #1E6E7B
split-complementary
#591E7B #6E7B1E #1E7B2B
monochromatic
#120619 #35124A #591E7B #7D2AAC #9D42D1

Accessibility & contrast

On white

11.07
#591E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#591E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E7B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E7B#FFFFFF#000000##FFFFFF
##591E7B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#093D79
Tritanopia (blue-blind)
#54334B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591e7b;
/* rgb */ color: rgb(89, 30, 123);
/* oklch */ color: oklch(37.4% 0.152 309.9);
Tailwind
colors: {
  custom: {
    50: '#8c60a2',
    500: '#591e7b',
    950: '#000000',
  },
}
SCSS
$custom: #591e7b;
$custom-light: #8c60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#591e7b",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 278.065,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.15162,
    "h": 309.9
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#591E7B
secondary
#6CAE46
accent
#E4447E
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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