#591EA7#591EA7

#591EA7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.197 H 295.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#591EA7
RGBrgb(89, 30, 167)
HSLhsl(266, 70%, 39%)
HSVhsv(266, 82%, 65%)
CMYKcmyk(46.7%, 82%, 0%, 34.5%)
CIE-LABlab(29.01, 53.70, -62.05)
CIE-LCHlch(29.01, 82.06, 310.87°)
OKLaboklab(41.27% 0.0855 -0.1779)
OKLCHoklch(41.27% 0.197 295.7)
XYZxyz(11.5573, 5.8421, 37.0704)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591EA7 #6CA71E
analogous
#1E28A7 #591EA7 #9D1EA7
triadic
#591EA7 #A7591E #1EA759
tetradic
#591EA7 #A71E28 #6CA71E #1EA79D
square
#591EA7 #A71E28 #6CA71E #1EA79D
split-complementary
#591EA7 #A79D1E #28A71E
monochromatic
#220B3F #3D1573 #591EA7 #752AD9 #975DE2

Accessibility & contrast

On white

9.68
#591EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591EA7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591EA7#FFFFFF#000000##FFFFFF
##591EA71.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#434664
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #591ea7;
/* rgb */ color: rgb(89, 30, 167);
/* oklch */ color: oklch(41.3% 0.197 295.7);
Tailwind
colors: {
  custom: {
    50: '#9062c2',
    500: '#591ea7',
    950: '#000000',
  },
}
SCSS
$custom: #591ea7;
$custom-light: #9062c2;
$custom-dark: #000000;
JSON
{
  "hex": "#591ea7",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 265.839,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.19742,
    "h": 295.7
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#591EA7
secondary
#98C65B
accent
#EC3BA0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #591EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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