#581884#581884

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

Color values

HEX#581884
RGBrgb(88, 24, 132)
HSLhsl(276, 69%, 31%)
HSVhsv(276, 82%, 52%)
CMYKcmyk(33.3%, 81.8%, 0%, 48.2%)
CIE-LABlab(24.93, 47.29, -47.18)
CIE-LCHlch(24.93, 66.80, 315.07°)
OKLaboklab(37.44% 0.0995 -0.1343)
OKLCHoklch(37.44% 0.167 306.5)
XYZxyz(8.5151, 4.3940, 22.2249)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581884 #448418
analogous
#221884 #581884 #84187A
triadic
#581884 #845818 #188458
tetradic
#581884 #842218 #448418 #187A84
square
#581884 #842218 #448418 #187A84
split-complementary
#581884 #7A8418 #188422
monochromatic
#13051C #350F50 #581884 #7B21B8 #9A3BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581884#FFFFFF#000000##FFFFFF
##5818841.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)
#003987
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#50344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581884;
/* rgb */ color: rgb(88, 24, 132);
/* oklch */ color: oklch(37.4% 0.167 306.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#581884',
    950: '#000000',
  },
}
SCSS
$custom: #581884;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#581884",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 275.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3744,
    "c": 0.16713,
    "h": 306.5
  },
  "luminance": 0.04394
}

Semantic roles & 50–950 ramp

primary
#581884
secondary
#71B840
accent
#EC3C84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581884

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

Preview Lab → · Contrast checker → · Palette generator →

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