#591F78#591F78

#591F78 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.147 H 311.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#591F78
RGBrgb(89, 31, 120)
HSLhsl(279, 59%, 30%)
HSVhsv(279, 74%, 47%)
CMYKcmyk(25.8%, 74.2%, 0%, 52.9%)
CIE-LABlab(25.14, 41.80, -39.25)
CIE-LCHlch(25.14, 57.34, 316.80°)
OKLaboklab(37.32% 0.0967 -0.111)
OKLCHoklch(37.32% 0.147 311.1)
XYZxyz(7.9993, 4.4601, 18.2051)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F78 #3E781F
analogous
#2D1F78 #591F78 #781F6B
triadic
#591F78 #78591F #1F7859
tetradic
#591F78 #782D1F #3E781F #1F6B78
square
#591F78 #782D1F #3E781F #1F6B78
split-complementary
#591F78 #6B781F #1F782D
monochromatic
#120618 #351247 #591F78 #7D2CA9 #9E43CE

Accessibility & contrast

On white

11.10
#591F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#591F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F78
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F78#FFFFFF#000000##FFFFFF
##591F781.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#113D76
Tritanopia (blue-blind)
#553349
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591f78;
/* rgb */ color: rgb(89, 31, 120);
/* oklch */ color: oklch(37.3% 0.147 311.1);
Tailwind
colors: {
  custom: {
    50: '#8b60a0',
    500: '#591f78',
    950: '#000000',
  },
}
SCSS
$custom: #591f78;
$custom-light: #8b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#591f78",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 279.101,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37315,
    "c": 0.14722,
    "h": 311.1
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#591F78
secondary
#6AAB47
accent
#E2467C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #591F78

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

Preview Lab → · Contrast checker → · Palette generator →

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