#581EA0#581EA0

#581EA0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.190 H 297.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#581EA0
RGBrgb(88, 30, 160)
HSLhsl(267, 68%, 37%)
HSVhsv(267, 81%, 63%)
CMYKcmyk(45%, 81.3%, 0%, 37.3%)
CIE-LABlab(28.22, 51.80, -59.10)
CIE-LCHlch(28.22, 78.59, 311.23°)
OKLaboklab(40.5% 0.0863 -0.1693)
OKLCHoklch(40.5% 0.19 297)
XYZxyz(10.8323, 5.5411, 33.7497)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581EA0 #66A01E
analogous
#1E25A0 #581EA0 #991EA0
triadic
#581EA0 #A0581E #1EA058
tetradic
#581EA0 #A01E25 #66A01E #1EA099
square
#581EA0 #A01E25 #66A01E #1EA099
split-complementary
#581EA0 #A0991E #25A01E
monochromatic
#1F0B39 #3C146C #581EA0 #7428D4 #9559E0

Accessibility & contrast

On white

9.96
#581EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#581EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581EA0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581EA0#FFFFFF#000000##FFFFFF
##581EA01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581ea0;
/* rgb */ color: rgb(88, 30, 160);
/* oklch */ color: oklch(40.5% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#8f62bd',
    500: '#581ea0',
    950: '#000000',
  },
}
SCSS
$custom: #581ea0;
$custom-light: #8f62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#581ea0",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 266.769,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.19006,
    "h": 297
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#581EA0
secondary
#93C456
accent
#EB3D9D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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