#591A8C#591A8C

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

Color values

HEX#591A8C
RGBrgb(89, 26, 140)
HSLhsl(273, 69%, 33%)
HSVhsv(273, 81%, 55%)
CMYKcmyk(36.4%, 81.4%, 0%, 45.1%)
CIE-LABlab(26.03, 48.60, -50.39)
CIE-LCHlch(26.03, 70.01, 313.96°)
OKLaboklab(38.45% 0.0971 -0.1437)
OKLCHoklch(38.45% 0.173 304)
XYZxyz(9.2217, 4.7561, 25.2381)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A8C #4D8C1A
analogous
#201A8C #591A8C #8C1A86
triadic
#591A8C #8C591A #1A8C59
tetradic
#591A8C #8C201A #4D8C1A #1A868C
square
#591A8C #8C201A #4D8C1A #1A868C
split-complementary
#591A8C #868C1A #1A8C20
monochromatic
#170725 #381058 #591A8C #7A24C0 #9844DC

Accessibility & contrast

On white

10.76
#591A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#591A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A8C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A8C#FFFFFF#000000##FFFFFF
##591A8C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4F3953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591a8c;
/* rgb */ color: rgb(89, 26, 140);
/* oklch */ color: oklch(38.4% 0.173 304.0);
Tailwind
colors: {
  custom: {
    50: '#8d5fae',
    500: '#591a8c',
    950: '#000000',
  },
}
SCSS
$custom: #591a8c;
$custom-light: #8d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#591a8c",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 273.158,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.17344,
    "h": 304
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#591A8C
secondary
#7BBE44
accent
#EC3C8B
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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