#581366#581366

#581366 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.143 H 320.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#581366
RGBrgb(88, 19, 102)
HSLhsl(290, 69%, 24%)
HSVhsv(290, 81%, 40%)
CMYKcmyk(13.7%, 81.4%, 0%, 60%)
CIE-LABlab(21.94, 42.53, -32.79)
CIE-LCHlch(21.94, 53.70, 322.37°)
OKLaboklab(34.6% 0.1101 -0.092)
OKLCHoklch(34.6% 0.143 320.1)
XYZxyz(6.6554, 3.5001, 12.8928)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581366 #216613
analogous
#2E1366 #581366 #66134A
triadic
#581366 #665813 #136658
tetradic
#581366 #662E13 #216613 #134A66
square
#581366 #662E13 #216613 #134A66
split-complementary
#581366 #4A6613 #13662E
monochromatic
#16051A #2B0932 #581366 #851D9A #B126CD

Accessibility & contrast

On white

12.35
#581366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581366
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581366#FFFFFF#000000##FFFFFF
##5813661.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#1B3764
Tritanopia (blue-blind)
#58243C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581366;
/* rgb */ color: rgb(88, 19, 102);
/* oklch */ color: oklch(34.6% 0.143 320.1);
Tailwind
colors: {
  custom: {
    50: '#8a5a92',
    500: '#581366',
    950: '#000000',
  },
}
SCSS
$custom: #581366;
$custom-light: #8a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#581366",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 289.88,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34597,
    "c": 0.14349,
    "h": 320.1
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#581366
secondary
#499D37
accent
#EB3C5A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581366

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

Preview Lab → · Contrast checker → · Palette generator →

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