#591982#591982

#591982 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.164 H 307.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#591982
RGBrgb(89, 25, 130)
HSLhsl(277, 68%, 30%)
HSVhsv(277, 81%, 51%)
CMYKcmyk(31.5%, 80.8%, 0%, 49%)
CIE-LABlab(25.05, 46.63, -45.73)
CIE-LCHlch(25.05, 65.31, 315.56°)
OKLaboklab(37.5% 0.1006 -0.13)
OKLCHoklch(37.5% 0.164 307.7)
XYZxyz(8.4959, 4.4309, 21.5225)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591982 #428219
analogous
#241982 #591982 #821977
triadic
#591982 #825919 #198259
tetradic
#591982 #822419 #428219 #197782
square
#591982 #822419 #428219 #197782
split-complementary
#591982 #778219 #198224
monochromatic
#13051B #360F4F #591982 #7C23B5 #9C3CD9

Accessibility & contrast

On white

11.13
#591982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#591982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591982
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591982#FFFFFF#000000##FFFFFF
##5919821.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591982;
/* rgb */ color: rgb(89, 25, 130);
/* oklch */ color: oklch(37.5% 0.164 307.7);
Tailwind
colors: {
  custom: {
    50: '#8d5ea7',
    500: '#591982',
    950: '#000000',
  },
}
SCSS
$custom: #591982;
$custom-light: #8d5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#591982",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 276.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.375,
    "c": 0.1644,
    "h": 307.7
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#591982
secondary
#6FB641
accent
#EB3D81
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591982

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

Preview Lab → · Contrast checker → · Palette generator →

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