#581A85#581A85

#581A85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.166 H 305.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#581A85
RGBrgb(88, 26, 133)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 52%)
CMYKcmyk(33.8%, 80.5%, 0%, 47.8%)
CIE-LABlab(25.28, 46.76, -47.24)
CIE-LCHlch(25.28, 66.47, 314.71°)
OKLaboklab(37.71% 0.0975 -0.1345)
OKLCHoklch(37.71% 0.166 305.9)
XYZxyz(8.6266, 4.5070, 22.6012)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A85 #47851A
analogous
#221A85 #581A85 #851A7C
triadic
#581A85 #85581A #1A8558
tetradic
#581A85 #85221A #47851A #1A7C85
square
#581A85 #85221A #47851A #1A7C85
split-complementary
#581A85 #7C851A #1A8522
monochromatic
#14061F #361052 #581A85 #7A24B8 #9940DA

Accessibility & contrast

On white

11.04
#581A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#581A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A85
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A85#FFFFFF#000000##FFFFFF
##581A851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#50364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581a85;
/* rgb */ color: rgb(88, 26, 133);
/* oklch */ color: oklch(37.7% 0.166 305.9);
Tailwind
colors: {
  custom: {
    50: '#8c5fa9',
    500: '#581a85',
    950: '#000000',
  },
}
SCSS
$custom: #581a85;
$custom-light: #8c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#581a85",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 274.766,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.16613,
    "h": 305.9
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#581A85
secondary
#74B842
accent
#EA3E86
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581A85

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

Preview Lab → · Contrast checker → · Palette generator →

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