#591F82#591F82

#591F82 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.158 H 307.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#591F82
RGBrgb(89, 31, 130)
HSLhsl(275, 61%, 32%)
HSVhsv(275, 76%, 51%)
CMYKcmyk(31.5%, 76.2%, 0%, 49%)
CIE-LABlab(25.91, 44.16, -44.33)
CIE-LCHlch(25.91, 62.57, 314.89°)
OKLaboklab(38.1% 0.095 -0.1259)
OKLCHoklch(38.1% 0.158 307)
XYZxyz(8.6382, 4.7156, 21.5699)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F82 #48821F
analogous
#281F82 #591F82 #821F7A
triadic
#591F82 #82591F #1F8259
tetradic
#591F82 #82281F #48821F #1F7A82
square
#591F82 #82281F #48821F #1F7A82
split-complementary
#591F82 #7A821F #1F8228
monochromatic
#15071F #371351 #591F82 #7B2BB3 #9A48D3

Accessibility & contrast

On white

10.81
#591F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#591F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F82
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F82#FFFFFF#000000##FFFFFF
##591F821.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#52374F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591f82;
/* rgb */ color: rgb(89, 31, 130);
/* oklch */ color: oklch(38.1% 0.158 307.0);
Tailwind
colors: {
  custom: {
    50: '#8c61a7',
    500: '#591f82',
    950: '#000000',
  },
}
SCSS
$custom: #591f82;
$custom-light: #8c61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#591f82",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 275.152,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38105,
    "c": 0.15773,
    "h": 307
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#591F82
secondary
#75B548
accent
#E54386
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591F82

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

Preview Lab → · Contrast checker → · Palette generator →

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