#591E8F#591E8F

#591E8F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.172 H 302.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#591E8F
RGBrgb(89, 30, 143)
HSLhsl(271, 65%, 34%)
HSVhsv(271, 79%, 56%)
CMYKcmyk(37.8%, 79%, 0%, 43.9%)
CIE-LABlab(26.84, 47.74, -50.94)
CIE-LCHlch(26.84, 69.81, 313.14°)
OKLaboklab(39.09% 0.0929 -0.1453)
OKLCHoklch(39.09% 0.172 302.6)
XYZxyz(9.5408, 5.0355, 26.4506)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591E8F #548F1E
analogous
#201E8F #591E8F #8F1E8D
triadic
#591E8F #8F591E #1E8F59
tetradic
#591E8F #8F201E #548F1E #1E8D8F
square
#591E8F #8F201E #548F1E #1E8D8F
split-complementary
#591E8F #8D8F1E #1E8F20
monochromatic
#1A092A #3A135C #591E8F #7829C2 #974EDA

Accessibility & contrast

On white

10.46
#591E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#591E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591E8F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591E8F#FFFFFF#000000##FFFFFF
##591E8F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#4E3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591e8f;
/* rgb */ color: rgb(89, 30, 143);
/* oklch */ color: oklch(39.1% 0.172 302.6);
Tailwind
colors: {
  custom: {
    50: '#8d61b1',
    500: '#591e8f',
    950: '#000000',
  },
}
SCSS
$custom: #591e8f;
$custom-light: #8d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#591e8f",
  "rgb": {
    "r": 89,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 271.327,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.17249,
    "h": 302.6
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#591E8F
secondary
#82BC4C
accent
#E84090
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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