#591A7D#591A7D

#591A7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.158 H 309.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#591A7D
RGBrgb(89, 26, 125)
HSLhsl(278, 66%, 30%)
HSVhsv(278, 79%, 49%)
CMYKcmyk(28.8%, 79.2%, 0%, 51%)
CIE-LABlab(24.78, 45.09, -43.02)
CIE-LCHlch(24.78, 62.31, 316.35°)
OKLaboklab(37.18% 0.1009 -0.122)
OKLCHoklch(37.18% 0.158 309.6)
XYZxyz(8.1901, 4.3435, 19.8050)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A7D #3E7D1A
analogous
#281A7D #591A7D #7D1A70
triadic
#591A7D #7D591A #1A7D59
tetradic
#591A7D #7D281A #3E7D1A #1A707D
square
#591A7D #7D281A #3E7D1A #1A707D
split-complementary
#591A7D #707D1A #1A7D28
monochromatic
#120519 #350F4A #591A7D #7D25B0 #9E3BD6

Accessibility & contrast

On white

11.24
#591A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#591A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A7D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A7D#FFFFFF#000000##FFFFFF
##591A7D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#54324B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591a7d;
/* rgb */ color: rgb(89, 26, 125);
/* oklch */ color: oklch(37.2% 0.158 309.6);
Tailwind
colors: {
  custom: {
    50: '#8c5ea3',
    500: '#591a7d',
    950: '#000000',
  },
}
SCSS
$custom: #591a7d;
$custom-light: #8c5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#591a7d",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 278.182,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.15834,
    "h": 309.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#591A7D
secondary
#6AB142
accent
#E93F7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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