#591F83#591F83

#591F83 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.159 H 306.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#591F83
RGBrgb(89, 31, 131)
HSLhsl(275, 62%, 32%)
HSVhsv(275, 76%, 51%)
CMYKcmyk(32.1%, 76.3%, 0%, 48.6%)
CIE-LABlab(25.99, 44.40, -44.83)
CIE-LCHlch(25.99, 63.10, 314.72°)
OKLaboklab(38.19% 0.0948 -0.1274)
OKLCHoklch(38.19% 0.159 306.6)
XYZxyz(8.7057, 4.7426, 21.9251)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F83 #49831F
analogous
#271F83 #591F83 #831F7B
triadic
#591F83 #83591F #1F8359
tetradic
#591F83 #83271F #49831F #1F7B83
square
#591F83 #83271F #49831F #1F7B83
split-complementary
#591F83 #7B831F #1F8327
monochromatic
#160820 #371352 #591F83 #7B2BB4 #9949D4

Accessibility & contrast

On white

10.78
#591F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F83
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F83#FFFFFF#000000##FFFFFF
##591F831.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#52374F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591f83;
/* rgb */ color: rgb(89, 31, 131);
/* oklch */ color: oklch(38.2% 0.159 306.6);
Tailwind
colors: {
  custom: {
    50: '#8c61a8',
    500: '#591f83',
    950: '#000000',
  },
}
SCSS
$custom: #591f83;
$custom-light: #8c61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#591f83",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 274.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.15879,
    "h": 306.6
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#591F83
secondary
#76B648
accent
#E54387
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #591F83

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

Preview Lab → · Contrast checker → · Palette generator →

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