#591782#591782

#591782 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.166 H 307.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#591782
RGBrgb(89, 23, 130)
HSLhsl(277, 70%, 30%)
HSVhsv(277, 82%, 51%)
CMYKcmyk(31.5%, 82.3%, 0%, 49%)
CIE-LABlab(24.79, 47.37, -46.15)
CIE-LCHlch(24.79, 66.13, 315.75°)
OKLaboklab(37.32% 0.1023 -0.1312)
OKLCHoklch(37.32% 0.166 307.9)
XYZxyz(8.4546, 4.3485, 21.5087)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591782 #408217
analogous
#231782 #591782 #821776
triadic
#591782 #825917 #178259
tetradic
#591782 #822317 #408217 #177682
square
#591782 #822317 #408217 #177682
split-complementary
#591782 #768217 #178223
monochromatic
#12051A #350E4E #591782 #7D20B6 #9D38DC

Accessibility & contrast

On white

11.23
#591782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#591782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591782
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591782#FFFFFF#000000##FFFFFF
##5917821.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591782;
/* rgb */ color: rgb(89, 23, 130);
/* oklch */ color: oklch(37.3% 0.166 307.9);
Tailwind
colors: {
  custom: {
    50: '#8d5da7',
    500: '#591782',
    950: '#000000',
  },
}
SCSS
$custom: #591782;
$custom-light: #8d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#591782",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 277.009,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.16639,
    "h": 307.9
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#591782
secondary
#6CB63E
accent
#ED3B7F
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591782

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

Preview Lab → · Contrast checker → · Palette generator →

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