#591FB4#591FB4

#591FB4 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.6% C 0.210 H 292.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#591FB4
RGBrgb(89, 31, 180)
HSLhsl(263, 71%, 41%)
HSVhsv(263, 83%, 71%)
CMYKcmyk(50.6%, 82.8%, 0%, 29.4%)
CIE-LABlab(30.40, 56.61, -67.57)
CIE-LCHlch(30.40, 88.14, 309.96°)
OKLaboklab(42.61% 0.0803 -0.1941)
OKLCHoklch(42.61% 0.21 292.5)
XYZxyz(12.8457, 6.3986, 43.7294)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591FB4 #7AB41F
analogous
#1F2FB4 #591FB4 #A41FB4
triadic
#591FB4 #B4591F #1FB459
tetradic
#591FB4 #B41F2F #7AB41F #1FB4A4
square
#591FB4 #B41F2F #7AB41F #1FB4A4
split-complementary
#591FB4 #B4A41F #2FB41F
monochromatic
#250D4C #3F1680 #591FB4 #7634DC #9968E5

Accessibility & contrast

On white

9.21
#591FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#591FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591FB4
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591FB4#FFFFFF#000000##FFFFFF
##591FB41.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#3A4C6C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #591fb4;
/* rgb */ color: rgb(89, 31, 180);
/* oklch */ color: oklch(42.6% 0.210 292.5);
Tailwind
colors: {
  custom: {
    50: '#9264cc',
    500: '#591fb4',
    950: '#000000',
  },
}
SCSS
$custom: #591fb4;
$custom-light: #9264cc;
$custom-dark: #000000;
JSON
{
  "hex": "#591fb4",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 263.356,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.21006,
    "h": 292.5
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#591FB4
secondary
#A3CB64
accent
#ED3AA8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #591FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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