#581CA1#581CA1

#581CA1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.193 H 296.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#581CA1
RGBrgb(88, 28, 161)
HSLhsl(267, 70%, 37%)
HSVhsv(267, 83%, 63%)
CMYKcmyk(45.3%, 82.6%, 0%, 36.9%)
CIE-LABlab(28.06, 52.81, -59.99)
CIE-LCHlch(28.06, 79.92, 311.36°)
OKLaboklab(40.41% 0.0874 -0.1719)
OKLCHoklch(40.41% 0.193 296.9)
XYZxyz(10.8711, 5.4782, 34.1959)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581CA1 #65A11C
analogous
#1C22A1 #581CA1 #9B1CA1
triadic
#581CA1 #A1581C #1CA158
tetradic
#581CA1 #A11C22 #65A11C #1CA19B
square
#581CA1 #A11C22 #65A11C #1CA19B
split-complementary
#581CA1 #A19B1C #22A11C
monochromatic
#1F0A39 #3C136D #581CA1 #7425D5 #9556E2

Accessibility & contrast

On white

10.02
#581CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#581CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581CA1
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581CA1#FFFFFF#000000##FFFFFF
##581CA11.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#444360
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #581ca1;
/* rgb */ color: rgb(88, 28, 161);
/* oklch */ color: oklch(40.4% 0.193 296.9);
Tailwind
colors: {
  custom: {
    50: '#8f61be',
    500: '#581ca1',
    950: '#000000',
  },
}
SCSS
$custom: #581ca1;
$custom-light: #8f61be;
$custom-dark: #000000;
JSON
{
  "hex": "#581ca1",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 267.068,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.19285,
    "h": 296.9
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#581CA1
secondary
#92C554
accent
#ED3B9D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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