#591F7B#591F7B

#591F7B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.150 H 309.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#591F7B
RGBrgb(89, 31, 123)
HSLhsl(278, 60%, 30%)
HSVhsv(278, 75%, 48%)
CMYKcmyk(27.6%, 74.8%, 0%, 51.8%)
CIE-LABlab(25.36, 42.50, -40.80)
CIE-LCHlch(25.36, 58.91, 316.17°)
OKLaboklab(37.55% 0.0962 -0.1155)
OKLCHoklch(37.55% 0.15 309.8)
XYZxyz(8.1843, 4.5340, 19.1791)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7B #417B1F
analogous
#2B1F7B #591F7B #7B1F6F
triadic
#591F7B #7B591F #1F7B59
tetradic
#591F7B #7B2B1F #417B1F #1F6F7B
square
#591F7B #7B2B1F #417B1F #1F6F7B
split-complementary
#591F7B #6F7B1F #1F7B2B
monochromatic
#120619 #36134A #591F7B #7C2BAC #9C44D0

Accessibility & contrast

On white

11.01
#591F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F7B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7B#FFFFFF#000000##FFFFFF
##591F7B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#0B3D79
Tritanopia (blue-blind)
#54344B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591f7b;
/* rgb */ color: rgb(89, 31, 123);
/* oklch */ color: oklch(37.5% 0.150 309.8);
Tailwind
colors: {
  custom: {
    50: '#8c61a2',
    500: '#591f7b',
    950: '#000000',
  },
}
SCSS
$custom: #591f7b;
$custom-light: #8c61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7b",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 277.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.15037,
    "h": 309.8
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#591F7B
secondary
#6DAE48
accent
#E3457F
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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