#581EA7#581EA7

#581EA7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.197 H 295.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#581EA7
RGBrgb(88, 30, 167)
HSLhsl(265, 70%, 39%)
HSVhsv(265, 82%, 65%)
CMYKcmyk(47.3%, 82%, 0%, 34.5%)
CIE-LABlab(28.88, 53.56, -62.26)
CIE-LCHlch(28.88, 82.13, 310.70°)
OKLaboklab(41.16% 0.0839 -0.1786)
OKLCHoklch(41.16% 0.197 295.2)
XYZxyz(11.4619, 5.7930, 37.0660)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581EA7 #6DA71E
analogous
#1E29A7 #581EA7 #9C1EA7
triadic
#581EA7 #A7581E #1EA758
tetradic
#581EA7 #A71E29 #6DA71E #1EA79C
square
#581EA7 #A71E29 #6DA71E #1EA79C
split-complementary
#581EA7 #A79C1E #29A71E
monochromatic
#210B3F #3D1573 #581EA7 #742AD9 #965DE2

Accessibility & contrast

On white

9.73
#581EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#581EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581EA7
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581EA7#FFFFFF#000000##FFFFFF
##581EA71.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#414664
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #581ea7;
/* rgb */ color: rgb(88, 30, 167);
/* oklch */ color: oklch(41.2% 0.197 295.2);
Tailwind
colors: {
  custom: {
    50: '#9062c2',
    500: '#581ea7',
    950: '#000000',
  },
}
SCSS
$custom: #581ea7;
$custom-light: #9062c2;
$custom-dark: #000000;
JSON
{
  "hex": "#581ea7",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 265.401,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.19734,
    "h": 295.2
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#581EA7
secondary
#99C65B
accent
#EC3BA1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #581EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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