#581E80#581E80

#581E80 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.157 H 307.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#581E80
RGBrgb(88, 30, 128)
HSLhsl(276, 62%, 31%)
HSVhsv(276, 77%, 50%)
CMYKcmyk(31.3%, 76.6%, 0%, 49.8%)
CIE-LABlab(25.45, 43.92, -43.83)
CIE-LCHlch(25.45, 62.05, 315.06°)
OKLaboklab(37.7% 0.0949 -0.1245)
OKLCHoklch(37.7% 0.157 307.3)
XYZxyz(8.3842, 4.5619, 20.8567)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E80 #46801E
analogous
#271E80 #581E80 #801E77
triadic
#581E80 #80581E #1E8058
tetradic
#581E80 #80271E #46801E #1E7780
square
#581E80 #80271E #46801E #1E7780
split-complementary
#581E80 #77801E #1E8027
monochromatic
#14071D #36124E #581E80 #7A2AB2 #9945D3

Accessibility & contrast

On white

10.98
#581E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#581E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E80
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E80#FFFFFF#000000##FFFFFF
##581E801.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#51364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581e80;
/* rgb */ color: rgb(88, 30, 128);
/* oklch */ color: oklch(37.7% 0.157 307.3);
Tailwind
colors: {
  custom: {
    50: '#8b60a6',
    500: '#581e80',
    950: '#000000',
  },
}
SCSS
$custom: #581e80;
$custom-light: #8b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#581e80",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 275.51,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37699,
    "c": 0.15655,
    "h": 307.3
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#581E80
secondary
#73B347
accent
#E54385
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581E80

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

Preview Lab → · Contrast checker → · Palette generator →

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