#581AA0#581AA0

#581AA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.193 H 297.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#581AA0
RGBrgb(88, 26, 160)
HSLhsl(268, 72%, 36%)
HSVhsv(268, 84%, 63%)
CMYKcmyk(45%, 83.8%, 0%, 37.3%)
CIE-LABlab(27.71, 53.29, -59.94)
CIE-LCHlch(27.71, 80.21, 311.64°)
OKLaboklab(40.15% 0.0891 -0.1718)
OKLCHoklch(40.15% 0.193 297.4)
XYZxyz(10.7374, 5.3513, 33.7181)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581AA0 #62A01A
analogous
#1A1FA0 #581AA0 #9B1AA0
triadic
#581AA0 #A0581A #1AA058
tetradic
#581AA0 #A01A1F #62A01A #1AA09B
square
#581AA0 #A01A1F #62A01A #1AA09B
split-complementary
#581AA0 #A09B1A #1FA01A
monochromatic
#1E0937 #3B116B #581AA0 #7523D5 #9552E3

Accessibility & contrast

On white

10.14
#581AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#581AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581AA0
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581AA0#FFFFFF#000000##FFFFFF
##581AA01.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#45425F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #581aa0;
/* rgb */ color: rgb(88, 26, 160);
/* oklch */ color: oklch(40.1% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#8f60bd',
    500: '#581aa0',
    950: '#000000',
  },
}
SCSS
$custom: #581aa0;
$custom-light: #8f60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#581aa0",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 267.761,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.19349,
    "h": 297.4
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#581AA0
secondary
#8FC550
accent
#EF399B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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