#581B85#581B85

#581B85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.165 H 305.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#581B85
RGBrgb(88, 27, 133)
HSLhsl(275, 66%, 31%)
HSVhsv(275, 80%, 52%)
CMYKcmyk(33.8%, 79.7%, 0%, 47.8%)
CIE-LABlab(25.42, 46.37, -47.02)
CIE-LCHlch(25.42, 66.04, 314.60°)
OKLaboklab(37.81% 0.0966 -0.1338)
OKLCHoklch(37.81% 0.165 305.8)
XYZxyz(8.6491, 4.5521, 22.6087)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B85 #48851B
analogous
#231B85 #581B85 #851B7D
triadic
#581B85 #85581B #1B8558
tetradic
#581B85 #85231B #48851B #1B7D85
square
#581B85 #85231B #48851B #1B7D85
split-complementary
#581B85 #7D851B #1B8523
monochromatic
#15061F #361152 #581B85 #7A25B8 #9942D9

Accessibility & contrast

On white

10.99
#581B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B85
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B85#FFFFFF#000000##FFFFFF
##581B851.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#503650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581b85;
/* rgb */ color: rgb(88, 27, 133);
/* oklch */ color: oklch(37.8% 0.165 305.8);
Tailwind
colors: {
  custom: {
    50: '#8c5fa9',
    500: '#581b85',
    950: '#000000',
  },
}
SCSS
$custom: #581b85;
$custom-light: #8c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#581b85",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 274.528,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.16509,
    "h": 305.8
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#581B85
secondary
#75B844
accent
#E93F87
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581B85

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

Preview Lab → · Contrast checker → · Palette generator →

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