#591FA6#591FA6

#591FA6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.196 H 295.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#591FA6
RGBrgb(89, 31, 166)
HSLhsl(266, 69%, 39%)
HSVhsv(266, 81%, 65%)
CMYKcmyk(46.4%, 81.3%, 0%, 34.9%)
CIE-LABlab(29.05, 53.06, -61.38)
CIE-LCHlch(29.05, 81.14, 310.84°)
OKLaboklab(41.27% 0.0851 -0.176)
OKLCHoklch(41.27% 0.196 295.8)
XYZxyz(11.4909, 5.8567, 36.5940)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591FA6 #6CA61F
analogous
#1F28A6 #591FA6 #9C1FA6
triadic
#591FA6 #A6591F #1FA659
tetradic
#591FA6 #A61F28 #6CA61F #1FA69C
square
#591FA6 #A61F28 #6CA61F #1FA69C
split-complementary
#591FA6 #A69C1F #28A61F
monochromatic
#220C3F #3D1572 #591FA6 #752BD7 #975EE1

Accessibility & contrast

On white

9.67
#591FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#591FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591FA6
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591FA6#FFFFFF#000000##FFFFFF
##591FA61.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#434663
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #591fa6;
/* rgb */ color: rgb(89, 31, 166);
/* oklch */ color: oklch(41.3% 0.196 295.8);
Tailwind
colors: {
  custom: {
    50: '#9063c2',
    500: '#591fa6',
    950: '#000000',
  },
}
SCSS
$custom: #591fa6;
$custom-light: #9063c2;
$custom-dark: #000000;
JSON
{
  "hex": "#591fa6",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 265.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.19552,
    "h": 295.8
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#591FA6
secondary
#98C55B
accent
#EB3CA0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #591FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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