#581984#581984

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

Color values

HEX#581984
RGBrgb(88, 25, 132)
HSLhsl(275, 68%, 31%)
HSVhsv(275, 81%, 52%)
CMYKcmyk(33.3%, 81.1%, 0%, 48.2%)
CIE-LABlab(25.06, 46.91, -46.97)
CIE-LCHlch(25.06, 66.39, 314.97°)
OKLaboklab(37.53% 0.0986 -0.1337)
OKLCHoklch(37.53% 0.166 306.4)
XYZxyz(8.5361, 4.4360, 22.2319)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581984 #458419
analogous
#221984 #581984 #84197A
triadic
#581984 #845819 #198458
tetradic
#581984 #842219 #458419 #197A84
square
#581984 #842219 #458419 #197A84
split-complementary
#581984 #7A8419 #198422
monochromatic
#13061D #360F51 #581984 #7A23B7 #9A3DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581984#FFFFFF#000000##FFFFFF
##5819841.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)
#003A87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#50354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581984;
/* rgb */ color: rgb(88, 25, 132);
/* oklch */ color: oklch(37.5% 0.166 306.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#581984',
    950: '#000000',
  },
}
SCSS
$custom: #581984;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#581984",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 275.327,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37531,
    "c": 0.16614,
    "h": 306.4
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#581984
secondary
#72B841
accent
#EB3D84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581984

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

Preview Lab → · Contrast checker → · Palette generator →

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