#581C97#581C97

#581C97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.183 H 299.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#581C97
RGBrgb(88, 28, 151)
HSLhsl(269, 69%, 35%)
HSVhsv(269, 81%, 59%)
CMYKcmyk(41.7%, 81.5%, 0%, 40.8%)
CIE-LABlab(27.13, 50.33, -55.40)
CIE-LCHlch(27.13, 74.85, 312.26°)
OKLaboklab(39.49% 0.0907 -0.1585)
OKLCHoklch(39.49% 0.183 299.8)
XYZxyz(10.0243, 5.1395, 29.7360)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C97 #5B971C
analogous
#1C1E97 #581C97 #951C97
triadic
#581C97 #97581C #1C9758
tetradic
#581C97 #971C1E #5B971C #1C9795
square
#581C97 #971C1E #5B971C #1C9795
split-complementary
#581C97 #97951C #1E971C
monochromatic
#1C0930 #3A1263 #581C97 #7626CB #954FDE

Accessibility & contrast

On white

10.36
#581C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#581C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C97
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C97#FFFFFF#000000##FFFFFF
##581C971.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#493E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581c97;
/* rgb */ color: rgb(88, 28, 151);
/* oklch */ color: oklch(39.5% 0.183 299.8);
Tailwind
colors: {
  custom: {
    50: '#8e60b7',
    500: '#581c97',
    950: '#000000',
  },
}
SCSS
$custom: #581c97;
$custom-light: #8e60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#581c97",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 269.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.18257,
    "h": 299.8
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#581C97
secondary
#89C14E
accent
#EC3C96
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581C97

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

Preview Lab → · Contrast checker → · Palette generator →

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