#591BD2#591BD2

#591BD2 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.3% C 0.243 H 286.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#591BD2
RGBrgb(89, 27, 210)
HSLhsl(260, 77%, 46%)
HSVhsv(260, 87%, 82%)
CMYKcmyk(57.6%, 87.1%, 0%, 17.6%)
CIE-LABlab(33.05, 65.47, -80.82)
CIE-LCHlch(33.05, 104.01, 309.01°)
OKLaboklab(45.34% 0.0709 -0.2327)
OKLCHoklch(45.34% 0.243 286.9)
XYZxyz(16.1411, 7.5599, 61.5689)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591BD2 #94D21B
analogous
#1B39D2 #591BD2 #B51BD2
triadic
#591BD2 #D2591B #1BD259
tetradic
#591BD2 #D21B39 #94D21B #1BD2B5
square
#591BD2 #D21B39 #94D21B #1BD2B5
split-complementary
#591BD2 #D2B51B #39D21B
monochromatic
#2B0D66 #42149C #591BD2 #7B43E7 #A17AEE

Accessibility & contrast

On white

8.36
#591BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#591BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591BD2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591BD2#FFFFFF#000000##FFFFFF
##591BD21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D7
Deuteranopia (green-blind)
#0049CF
Tritanopia (blue-blind)
#18587D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #591bd2;
/* rgb */ color: rgb(89, 27, 210);
/* oklch */ color: oklch(45.3% 0.243 286.9);
Tailwind
colors: {
  custom: {
    50: '#9764e1',
    500: '#591bd2',
    950: '#000000',
  },
}
SCSS
$custom: #591bd2;
$custom-light: #9764e1;
$custom-dark: #000000;
JSON
{
  "hex": "#591bd2",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 210
  },
  "hsl": {
    "h": 260.328,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.24328,
    "h": 286.9
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#591BD2
secondary
#B4D573
accent
#F434B3
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#0F0616
muted
#7F7A84

Preview Lab

Preview with #591BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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