#581D85#581D85

#581D85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.163 H 305.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#581D85
RGBrgb(88, 29, 133)
HSLhsl(274, 64%, 32%)
HSVhsv(274, 78%, 52%)
CMYKcmyk(33.8%, 78.2%, 0%, 47.8%)
CIE-LABlab(25.70, 45.55, -46.56)
CIE-LCHlch(25.70, 65.13, 314.37°)
OKLaboklab(38.01% 0.0948 -0.1325)
OKLCHoklch(38.01% 0.163 305.6)
XYZxyz(8.6966, 4.6470, 22.6246)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D85 #4A851D
analogous
#241D85 #581D85 #851D7E
triadic
#581D85 #85581D #1D8558
tetradic
#581D85 #85241D #4A851D #1D7E85
square
#581D85 #85241D #4A851D #1D7E85
split-complementary
#581D85 #7E851D #1D8524
monochromatic
#160721 #371253 #581D85 #7928B7 #9846D7

Accessibility & contrast

On white

10.88
#581D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#581D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D85
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D85#FFFFFF#000000##FFFFFF
##581D851.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#503750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581d85;
/* rgb */ color: rgb(88, 29, 133);
/* oklch */ color: oklch(38.0% 0.163 305.6);
Tailwind
colors: {
  custom: {
    50: '#8c60a9',
    500: '#581d85',
    950: '#000000',
  },
}
SCSS
$custom: #581d85;
$custom-light: #8c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#581d85",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 274.038,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38006,
    "c": 0.16292,
    "h": 305.6
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#581D85
secondary
#77B846
accent
#E74189
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581D85

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

Preview Lab → · Contrast checker → · Palette generator →

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