#591F9A#591F9A

#591F9A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.183 H 299.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#591F9A
RGBrgb(89, 31, 154)
HSLhsl(268, 66%, 36%)
HSVhsv(268, 80%, 60%)
CMYKcmyk(42.2%, 79.9%, 0%, 39.6%)
CIE-LABlab(27.94, 50.05, -55.90)
CIE-LCHlch(27.94, 75.03, 311.84°)
OKLaboklab(40.17% 0.0889 -0.1599)
OKLCHoklch(40.17% 0.183 299.1)
XYZxyz(10.4411, 5.4368, 31.0649)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F9A #609A1F
analogous
#1F239A #591F9A #971F9A
triadic
#591F9A #9A591F #1F9A59
tetradic
#591F9A #9A1F23 #609A1F #1F9A97
square
#591F9A #9A1F23 #609A1F #1F9A97
split-complementary
#591F9A #9A971F #239A1F
monochromatic
#1E0A34 #3C1567 #591F9A #7629CD #9656DD

Accessibility & contrast

On white

10.06
#591F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#591F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F9A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F9A#FFFFFF#000000##FFFFFF
##591F9A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#49415C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591f9a;
/* rgb */ color: rgb(89, 31, 154);
/* oklch */ color: oklch(40.2% 0.183 299.1);
Tailwind
colors: {
  custom: {
    50: '#8f62b9',
    500: '#591f9a',
    950: '#000000',
  },
}
SCSS
$custom: #591f9a;
$custom-light: #8f62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#591f9a",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 268.293,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.18297,
    "h": 299.1
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#591F9A
secondary
#8DC154
accent
#E93E99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #591F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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