#581C91#581C91

#581C91 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.176 H 301.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#581C91
RGBrgb(88, 28, 145)
HSLhsl(271, 68%, 34%)
HSVhsv(271, 81%, 57%)
CMYKcmyk(39.3%, 80.7%, 0%, 43.1%)
CIE-LABlab(26.59, 48.86, -52.58)
CIE-LCHlch(26.59, 71.78, 312.90°)
OKLaboklab(38.95% 0.0925 -0.1502)
OKLCHoklch(38.95% 0.176 301.6)
XYZxyz(9.5493, 4.9495, 27.2348)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C91 #55911C
analogous
#1D1C91 #581C91 #911C90
triadic
#581C91 #91581C #1C9158
tetradic
#581C91 #911D1C #55911C #1C9091
square
#581C91 #911D1C #55911C #1C9091
split-complementary
#581C91 #90911C #1C911D
monochromatic
#1A082A #39125E #581C91 #7726C4 #964BDC

Accessibility & contrast

On white

10.55
#581C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#581C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C91
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C91#FFFFFF#000000##FFFFFF
##581C911.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#4B3C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581c91;
/* rgb */ color: rgb(88, 28, 145);
/* oklch */ color: oklch(38.9% 0.176 301.6);
Tailwind
colors: {
  custom: {
    50: '#8d60b2',
    500: '#581c91',
    950: '#000000',
  },
}
SCSS
$custom: #581c91;
$custom-light: #8d60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#581c91",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 270.769,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.17639,
    "h": 301.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#581C91
secondary
#83BE4A
accent
#EB3D92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581C91

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

Preview Lab → · Contrast checker → · Palette generator →

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