#591F7A#591F7A

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

Color values

HEX#591F7A
RGBrgb(89, 31, 122)
HSLhsl(278, 59%, 30%)
HSVhsv(278, 75%, 48%)
CMYKcmyk(27%, 74.6%, 0%, 52.2%)
CIE-LABlab(25.29, 42.27, -40.28)
CIE-LCHlch(25.29, 58.39, 316.38°)
OKLaboklab(37.47% 0.0964 -0.114)
OKLCHoklch(37.47% 0.149 310.2)
XYZxyz(8.1220, 4.5091, 18.8511)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7A #407A1F
analogous
#2C1F7A #591F7A #7A1F6D
triadic
#591F7A #7A591F #1F7A59
tetradic
#591F7A #7A2C1F #407A1F #1F6D7A
square
#591F7A #7A2C1F #407A1F #1F6D7A
split-complementary
#591F7A #6D7A1F #1F7A2C
monochromatic
#120618 #351349 #591F7A #7D2BAB #9D44CF

Accessibility & contrast

On white

11.04
#591F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F7A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7A#FFFFFF#000000##FFFFFF
##591F7A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#0D3D78
Tritanopia (blue-blind)
#54334A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591f7a;
/* rgb */ color: rgb(89, 31, 122);
/* oklch */ color: oklch(37.5% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#8c60a1',
    500: '#591f7a',
    950: '#000000',
  },
}
SCSS
$custom: #591f7a;
$custom-light: #8c60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7a",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 278.242,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.14932,
    "h": 310.2
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#591F7A
secondary
#6CAD47
accent
#E3457E
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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