#591F94#591F94

#591F94 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.177 H 300.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#591F94
RGBrgb(89, 31, 148)
HSLhsl(270, 65%, 35%)
HSVhsv(270, 79%, 58%)
CMYKcmyk(39.9%, 79.1%, 0%, 42%)
CIE-LABlab(27.41, 48.55, -53.08)
CIE-LCHlch(27.41, 71.94, 312.45°)
OKLaboklab(39.63% 0.0906 -0.1517)
OKLCHoklch(39.63% 0.177 300.9)
XYZxyz(9.9538, 5.2419, 28.4986)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F94 #5A941F
analogous
#1F1F94 #591F94 #941F94
triadic
#591F94 #94591F #1F9459
tetradic
#591F94 #941F1F #5A941F #1F9494
square
#591F94 #941F1F #5A941F #1F9494
split-complementary
#591F94 #94941F #1F941F
monochromatic
#1C0A2F #3B1461 #591F94 #772AC7 #9653DB

Accessibility & contrast

On white

10.25
#591F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#591F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F94
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F94#FFFFFF#000000##FFFFFF
##591F941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#4C3E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #591f94;
/* rgb */ color: rgb(89, 31, 148);
/* oklch */ color: oklch(39.6% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#8e62b4',
    500: '#591f94',
    950: '#000000',
  },
}
SCSS
$custom: #591f94;
$custom-light: #8e62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#591f94",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 269.744,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.17668,
    "h": 300.9
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#591F94
secondary
#88BE51
accent
#E83F95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F94

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

Preview Lab → · Contrast checker → · Palette generator →

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