#591B8F#591B8F

#591B8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.175 H 302.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#591B8F
RGBrgb(89, 27, 143)
HSLhsl(272, 68%, 33%)
HSVhsv(272, 81%, 56%)
CMYKcmyk(37.8%, 81.1%, 0%, 43.9%)
CIE-LABlab(26.42, 48.93, -51.61)
CIE-LCHlch(26.42, 71.12, 313.47°)
OKLaboklab(38.8% 0.0954 -0.1473)
OKLCHoklch(38.8% 0.176 302.9)
XYZxyz(9.4685, 4.8909, 26.4265)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8F #518F1B
analogous
#1F1B8F #591B8F #8F1B8B
triadic
#591B8F #8F591B #1B8F59
tetradic
#591B8F #8F1F1B #518F1B #1B8B8F
square
#591B8F #8F1F1B #518F1B #1B8B8F
split-complementary
#591B8F #8B8F1B #1B8F1F
monochromatic
#190828 #39115C #591B8F #7925C2 #9748DC

Accessibility & contrast

On white

10.62
#591B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#591B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B8F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B8F#FFFFFF#000000##FFFFFF
##591B8F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#4E3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591b8f;
/* rgb */ color: rgb(89, 27, 143);
/* oklch */ color: oklch(38.8% 0.175 302.9);
Tailwind
colors: {
  custom: {
    50: '#8e60b1',
    500: '#591b8f',
    950: '#000000',
  },
}
SCSS
$custom: #591b8f;
$custom-light: #8e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8f",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 272.069,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.1755,
    "h": 302.9
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#591B8F
secondary
#7FBE48
accent
#EB3D8E
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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