#591F8C#591F8C

#591F8C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.168 H 303.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#591F8C
RGBrgb(89, 31, 140)
HSLhsl(272, 64%, 34%)
HSVhsv(272, 78%, 55%)
CMYKcmyk(36.4%, 77.9%, 0%, 45.1%)
CIE-LABlab(26.73, 46.58, -49.25)
CIE-LCHlch(26.73, 67.79, 313.40°)
OKLaboklab(38.94% 0.0927 -0.1404)
OKLCHoklch(38.94% 0.168 303.4)
XYZxyz(9.3423, 4.9973, 25.2782)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F8C #528C1F
analogous
#231F8C #591F8C #8C1F88
triadic
#591F8C #8C591F #1F8C59
tetradic
#591F8C #8C231F #528C1F #1F888C
square
#591F8C #8C231F #528C1F #1F888C
split-complementary
#591F8C #888C1F #1F8C23
monochromatic
#190928 #39145A #591F8C #792ABE #974ED8

Accessibility & contrast

On white

10.50
#591F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#591F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F8C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F8C#FFFFFF#000000##FFFFFF
##591F8C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#4F3B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #591f8c;
/* rgb */ color: rgb(89, 31, 140);
/* oklch */ color: oklch(38.9% 0.168 303.4);
Tailwind
colors: {
  custom: {
    50: '#8d61ae',
    500: '#591f8c',
    950: '#000000',
  },
}
SCSS
$custom: #591f8c;
$custom-light: #8d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591f8c",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 271.927,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.16827,
    "h": 303.4
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#591F8C
secondary
#80BB4C
accent
#E7418F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #591F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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