#591682#591682

#591682 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.167 H 308.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#591682
RGBrgb(89, 22, 130)
HSLhsl(277, 71%, 30%)
HSVhsv(277, 83%, 51%)
CMYKcmyk(31.5%, 83.1%, 0%, 49%)
CIE-LABlab(24.67, 47.73, -46.35)
CIE-LCHlch(24.67, 66.53, 315.84°)
OKLaboklab(37.24% 0.1031 -0.1318)
OKLCHoklch(37.24% 0.167 308)
XYZxyz(8.4351, 4.3095, 21.5022)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591682 #3F8216
analogous
#231682 #591682 #821675
triadic
#591682 #825916 #168259
tetradic
#591682 #822316 #3F8216 #167582
square
#591682 #822316 #3F8216 #167582
split-complementary
#591682 #758216 #168223
monochromatic
#12041A #350D4E #591682 #7D1FB6 #9D35DD

Accessibility & contrast

On white

11.28
#591682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#591682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591682
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591682#FFFFFF#000000##FFFFFF
##5916821.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#52334D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591682;
/* rgb */ color: rgb(89, 22, 130);
/* oklch */ color: oklch(37.2% 0.167 308.0);
Tailwind
colors: {
  custom: {
    50: '#8d5da7',
    500: '#591682',
    950: '#000000',
  },
}
SCSS
$custom: #591682;
$custom-light: #8d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#591682",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 277.222,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37235,
    "c": 0.16735,
    "h": 308
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#591682
secondary
#6BB73D
accent
#EE3A7E
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591682

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

Preview Lab → · Contrast checker → · Palette generator →

#591682 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva