#581C99#581C99

#581C99 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.185 H 299.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#581C99
RGBrgb(88, 28, 153)
HSLhsl(269, 69%, 35%)
HSVhsv(269, 82%, 60%)
CMYKcmyk(42.5%, 81.7%, 0%, 40%)
CIE-LABlab(27.31, 50.83, -56.33)
CIE-LCHlch(27.31, 75.87, 312.06°)
OKLaboklab(39.67% 0.09 -0.1612)
OKLCHoklch(39.67% 0.185 299.2)
XYZxyz(10.1881, 5.2050, 30.5987)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C99 #5D991C
analogous
#1C1E99 #581C99 #961C99
triadic
#581C99 #99581C #1C9958
tetradic
#581C99 #991C1E #5D991C #1C9996
square
#581C99 #991C1E #5D991C #1C9996
split-complementary
#581C99 #99961C #1E991C
monochromatic
#1C0932 #3A1365 #581C99 #7625CD #9550DF

Accessibility & contrast

On white

10.29
#581C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#581C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C99
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C99#FFFFFF#000000##FFFFFF
##581C991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#483F5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581c99;
/* rgb */ color: rgb(88, 28, 153);
/* oklch */ color: oklch(39.7% 0.185 299.2);
Tailwind
colors: {
  custom: {
    50: '#8e61b8',
    500: '#581c99',
    950: '#000000',
  },
}
SCSS
$custom: #581c99;
$custom-light: #8e61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#581c99",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 268.8,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.18462,
    "h": 299.2
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#581C99
secondary
#8BC24F
accent
#EC3C97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #581C99

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

Preview Lab → · Contrast checker → · Palette generator →

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