#581A82#581A82

#581A82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.163 H 307.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#581A82
RGBrgb(88, 26, 130)
HSLhsl(276, 67%, 31%)
HSVhsv(276, 80%, 51%)
CMYKcmyk(32.3%, 80%, 0%, 49%)
CIE-LABlab(25.03, 46.06, -45.77)
CIE-LCHlch(25.03, 64.93, 315.18°)
OKLaboklab(37.46% 0.0983 -0.1302)
OKLCHoklch(37.46% 0.163 307.1)
XYZxyz(8.4223, 4.4253, 21.5252)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A82 #44821A
analogous
#241A82 #581A82 #821A78
triadic
#581A82 #82581A #1A8258
tetradic
#581A82 #82241A #44821A #1A7882
square
#581A82 #82241A #44821A #1A7882
split-complementary
#581A82 #78821A #1A8224
monochromatic
#13061C #35104F #581A82 #7B24B5 #9A3ED8

Accessibility & contrast

On white

11.14
#581A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A82
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A82#FFFFFF#000000##FFFFFF
##581A821.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581a82;
/* rgb */ color: rgb(88, 26, 130);
/* oklch */ color: oklch(37.5% 0.163 307.1);
Tailwind
colors: {
  custom: {
    50: '#8c5ea7',
    500: '#581a82',
    950: '#000000',
  },
}
SCSS
$custom: #581a82;
$custom-light: #8c5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#581a82",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 275.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37456,
    "c": 0.16309,
    "h": 307.1
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#581A82
secondary
#71B642
accent
#EA3E83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #581A82

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

Preview Lab → · Contrast checker → · Palette generator →

#581A82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva