#581A86#581A86

#581A86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.167 H 305.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#581A86
RGBrgb(88, 26, 134)
HSLhsl(274, 68%, 31%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(34.3%, 80.6%, 0%, 47.5%)
CIE-LABlab(25.37, 47.00, -47.73)
CIE-LCHlch(25.37, 66.99, 314.56°)
OKLaboklab(37.8% 0.0973 -0.1359)
OKLCHoklch(37.8% 0.167 305.6)
XYZxyz(8.6960, 4.5348, 22.9668)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A86 #48861A
analogous
#221A86 #581A86 #861A7E
triadic
#581A86 #86581A #1A8658
tetradic
#581A86 #86221A #48861A #1A7E86
square
#581A86 #86221A #48861A #1A7E86
split-complementary
#581A86 #7E861A #1A8622
monochromatic
#15061F #361053 #581A86 #7A24B9 #9940DA

Accessibility & contrast

On white

11.01
#581A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#581A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A86
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A86#FFFFFF#000000##FFFFFF
##581A861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#4F3650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581a86;
/* rgb */ color: rgb(88, 26, 134);
/* oklch */ color: oklch(37.8% 0.167 305.6);
Tailwind
colors: {
  custom: {
    50: '#8c5faa',
    500: '#581a86',
    950: '#000000',
  },
}
SCSS
$custom: #581a86;
$custom-light: #8c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#581a86",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 274.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.16714,
    "h": 305.6
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#581A86
secondary
#75B942
accent
#EA3D87
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581A86

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

Preview Lab → · Contrast checker → · Palette generator →

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