#591B8D#591B8D

#591B8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.173 H 303.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#591B8D
RGBrgb(89, 27, 141)
HSLhsl(273, 68%, 33%)
HSVhsv(273, 81%, 55%)
CMYKcmyk(36.9%, 80.9%, 0%, 44.7%)
CIE-LABlab(26.25, 48.45, -50.66)
CIE-LCHlch(26.25, 70.10, 313.73°)
OKLaboklab(38.63% 0.096 -0.1445)
OKLCHoklch(38.63% 0.173 303.6)
XYZxyz(9.3183, 4.8308, 25.6357)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8D #4F8D1B
analogous
#201B8D #591B8D #8D1B88
triadic
#591B8D #8D591B #1B8D59
tetradic
#591B8D #8D201B #4F8D1B #1B888D
square
#591B8D #8D201B #4F8D1B #1B888D
split-complementary
#591B8D #888D1B #1B8D20
monochromatic
#180726 #39115A #591B8D #7925C0 #9847DC

Accessibility & contrast

On white

10.68
#591B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#591B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B8D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B8D#FFFFFF#000000##FFFFFF
##591B8D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4E3A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591b8d;
/* rgb */ color: rgb(89, 27, 141);
/* oklch */ color: oklch(38.6% 0.173 303.6);
Tailwind
colors: {
  custom: {
    50: '#8d60af',
    500: '#591b8d',
    950: '#000000',
  },
}
SCSS
$custom: #591b8d;
$custom-light: #8d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8d",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 272.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.17347,
    "h": 303.6
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#591B8D
secondary
#7DBD46
accent
#EB3D8C
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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