#591E9C#591E9C

#591E9C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.186 H 298.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#591E9C
RGBrgb(89, 30, 156)
HSLhsl(268, 68%, 36%)
HSVhsv(268, 81%, 61%)
CMYKcmyk(42.9%, 80.8%, 0%, 38.8%)
CIE-LABlab(27.99, 50.95, -57.05)
CIE-LCHlch(27.99, 76.49, 311.77°)
OKLaboklab(40.25% 0.0891 -0.1633)
OKLCHoklch(40.25% 0.186 298.6)
XYZxyz(10.5833, 5.4525, 31.9409)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E9C #619C1E
analogous
#1E229C #591E9C #981E9C
triadic
#591E9C #9C591E #1E9C59
tetradic
#591E9C #9C1E22 #619C1E #1E9C98
square
#591E9C #9C1E22 #619C1E #1E9C98
split-complementary
#591E9C #9C981E #229C1E
monochromatic
#1E0A35 #3C1469 #591E9C #7628CF #9656DE

Accessibility & contrast

On white

10.04
#591E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#591E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E9C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E9C#FFFFFF#000000##FFFFFF
##591E9C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#48415D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591e9c;
/* rgb */ color: rgb(89, 30, 156);
/* oklch */ color: oklch(40.3% 0.186 298.6);
Tailwind
colors: {
  custom: {
    50: '#8f62ba',
    500: '#591e9c',
    950: '#000000',
  },
}
SCSS
$custom: #591e9c;
$custom-light: #8f62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#591e9c",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 268.095,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40251,
    "c": 0.18601,
    "h": 298.6
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#591E9C
secondary
#8EC254
accent
#EB3D99
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #591E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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