#591882#591882

#591882 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.165 H 307.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#591882
RGBrgb(89, 24, 130)
HSLhsl(277, 69%, 30%)
HSVhsv(277, 82%, 51%)
CMYKcmyk(31.5%, 81.5%, 0%, 49%)
CIE-LABlab(24.92, 47.01, -45.94)
CIE-LCHlch(24.92, 65.73, 315.66°)
OKLaboklab(37.41% 0.1015 -0.1306)
OKLCHoklch(37.41% 0.165 307.8)
XYZxyz(8.4749, 4.3889, 21.5155)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591882 #418218
analogous
#241882 #591882 #821876
triadic
#591882 #825918 #188259
tetradic
#591882 #822418 #418218 #187682
square
#591882 #822418 #418218 #187682
split-complementary
#591882 #768218 #188224
monochromatic
#12051B #360E4E #591882 #7C22B6 #9C3ADB

Accessibility & contrast

On white

11.18
#591882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#591882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591882
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591882#FFFFFF#000000##FFFFFF
##5918821.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #591882;
/* rgb */ color: rgb(89, 24, 130);
/* oklch */ color: oklch(37.4% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#8d5ea7',
    500: '#591882',
    950: '#000000',
  },
}
SCSS
$custom: #591882;
$custom-light: #8d5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#591882",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 276.792,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37409,
    "c": 0.16542,
    "h": 307.8
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#591882
secondary
#6DB640
accent
#EC3C80
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #591882

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

Preview Lab → · Contrast checker → · Palette generator →

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