#591C9D#591C9D

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

Color values

HEX#591C9D
RGBrgb(89, 28, 157)
HSLhsl(268, 70%, 36%)
HSVhsv(268, 82%, 62%)
CMYKcmyk(43.3%, 82.2%, 0%, 38.4%)
CIE-LABlab(27.81, 51.96, -57.94)
CIE-LCHlch(27.81, 77.83, 311.89°)
OKLaboklab(40.16% 0.0903 -0.1659)
OKLCHoklch(40.16% 0.189 298.5)
XYZxyz(10.6193, 5.3885, 32.3723)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591C9D #609D1C
analogous
#1C209D #591C9D #9A1C9D
triadic
#591C9D #9D591C #1C9D59
tetradic
#591C9D #9D1C20 #609D1C #1C9D9A
square
#591C9D #9D1C20 #609D1C #1C9D9A
split-complementary
#591C9D #9D9A1C #209D1C
monochromatic
#1E0935 #3C1369 #591C9D #7625D1 #9653E0

Accessibility & contrast

On white

10.11
#591C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#591C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591C9D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591C9D#FFFFFF#000000##FFFFFF
##591C9D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#48415E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591c9d;
/* rgb */ color: rgb(89, 28, 157);
/* oklch */ color: oklch(40.2% 0.189 298.5);
Tailwind
colors: {
  custom: {
    50: '#8f61bb',
    500: '#591c9d',
    950: '#000000',
  },
}
SCSS
$custom: #591c9d;
$custom-light: #8f61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#591c9d",
  "rgb": {
    "r": 89,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 268.372,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.18886,
    "h": 298.5
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#591C9D
secondary
#8DC351
accent
#ED3B99
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #591C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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