#581FA0#581FA0

#581FA0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.189 H 296.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#581FA0
RGBrgb(88, 31, 160)
HSLhsl(267, 68%, 37%)
HSVhsv(267, 81%, 63%)
CMYKcmyk(45%, 80.6%, 0%, 37.3%)
CIE-LABlab(28.36, 51.40, -58.88)
CIE-LCHlch(28.36, 78.16, 311.12°)
OKLaboklab(40.59% 0.0855 -0.1687)
OKLCHoklch(40.59% 0.189 296.9)
XYZxyz(10.8580, 5.5925, 33.7583)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581FA0 #67A01F
analogous
#1F26A0 #581FA0 #991FA0
triadic
#581FA0 #A0581F #1FA058
tetradic
#581FA0 #A01F26 #67A01F #1FA099
square
#581FA0 #A01F26 #67A01F #1FA099
split-complementary
#581FA0 #A0991F #26A01F
monochromatic
#200B39 #3C156D #581FA0 #7429D3 #955ADF

Accessibility & contrast

On white

9.91
#581FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#581FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581FA0
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581FA0#FFFFFF#000000##FFFFFF
##581FA01.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#444460
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #581fa0;
/* rgb */ color: rgb(88, 31, 160);
/* oklch */ color: oklch(40.6% 0.189 296.9);
Tailwind
colors: {
  custom: {
    50: '#8f62bd',
    500: '#581fa0',
    950: '#000000',
  },
}
SCSS
$custom: #581fa0;
$custom-light: #8f62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#581fa0",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 266.512,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.18915,
    "h": 296.9
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#581FA0
secondary
#94C358
accent
#EA3D9E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #581FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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