#591A8F#591A8F

#591A8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.176 H 303.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#591A8F
RGBrgb(89, 26, 143)
HSLhsl(272, 69%, 33%)
HSVhsv(272, 82%, 56%)
CMYKcmyk(37.8%, 81.8%, 0%, 43.9%)
CIE-LABlab(26.29, 49.31, -51.83)
CIE-LCHlch(26.29, 71.54, 313.58°)
OKLaboklab(38.71% 0.0962 -0.1479)
OKLCHoklch(38.71% 0.176 303)
XYZxyz(9.4460, 4.8458, 26.4190)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A8F #508F1A
analogous
#1F1A8F #591A8F #8F1A8A
triadic
#591A8F #8F591A #1A8F59
tetradic
#591A8F #8F1F1A #508F1A #1A8A8F
square
#591A8F #8F1F1A #508F1A #1A8A8F
split-complementary
#591A8F #8A8F1A #1A8F1F
monochromatic
#190727 #39115B #591A8F #7923C3 #9846DD

Accessibility & contrast

On white

10.66
#591A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591A8F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A8F#FFFFFF#000000##FFFFFF
##591A8F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.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: #591a8f;
/* rgb */ color: rgb(89, 26, 143);
/* oklch */ color: oklch(38.7% 0.176 303.0);
Tailwind
colors: {
  custom: {
    50: '#8e5fb1',
    500: '#591a8f',
    950: '#000000',
  },
}
SCSS
$custom: #591a8f;
$custom-light: #8e5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#591a8f",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 272.308,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.17646,
    "h": 303
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#591A8F
secondary
#7EBF46
accent
#EC3C8D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #591A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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