#581684#581684

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

Color values

HEX#581684
RGBrgb(88, 22, 132)
HSLhsl(276, 71%, 30%)
HSVhsv(276, 83%, 52%)
CMYKcmyk(33.3%, 83.3%, 0%, 48.2%)
CIE-LABlab(24.69, 48.01, -47.59)
CIE-LCHlch(24.69, 67.60, 315.25°)
OKLaboklab(37.27% 0.1011 -0.1355)
OKLCHoklch(37.27% 0.169 306.7)
XYZxyz(8.4754, 4.3146, 22.2116)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581684 #428416
analogous
#211684 #581684 #841679
triadic
#581684 #845816 #168458
tetradic
#581684 #842116 #428416 #167984
square
#581684 #842116 #428416 #167984
split-complementary
#581684 #798416 #168421
monochromatic
#12051B #350D50 #581684 #7B1FB8 #9B37DE

Accessibility & contrast

On white

11.27
#581684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581684
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581684#FFFFFF#000000##FFFFFF
##5816841.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#50344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581684;
/* rgb */ color: rgb(88, 22, 132);
/* oklch */ color: oklch(37.3% 0.169 306.7);
Tailwind
colors: {
  custom: {
    50: '#8c5da9',
    500: '#581684',
    950: '#000000',
  },
}
SCSS
$custom: #581684;
$custom-light: #8c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#581684",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.16903,
    "h": 306.7
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#581684
secondary
#6FB83D
accent
#EE3A82
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581684

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

Preview Lab → · Contrast checker → · Palette generator →

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