#581E7E#581E7E

#581E7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.154 H 308.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#581E7E
RGBrgb(88, 30, 126)
HSLhsl(276, 62%, 31%)
HSVhsv(276, 76%, 49%)
CMYKcmyk(30.2%, 76.2%, 0%, 50.6%)
CIE-LABlab(25.29, 43.44, -42.82)
CIE-LCHlch(25.29, 61.00, 315.41°)
OKLaboklab(37.54% 0.0953 -0.1215)
OKLCHoklch(37.54% 0.154 308.1)
XYZxyz(8.2539, 4.5097, 20.1703)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E7E #447E1E
analogous
#281E7E #581E7E #7E1E74
triadic
#581E7E #7E581E #1E7E58
tetradic
#581E7E #7E281E #447E1E #1E747E
square
#581E7E #7E281E #447E1E #1E747E
split-complementary
#581E7E #747E1E #1E7E28
monochromatic
#13061B #35124D #581E7E #7B2AAF #9A44D2

Accessibility & contrast

On white

11.04
#581E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#581E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E7E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E7E#FFFFFF#000000##FFFFFF
##581E7E1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#52354C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581e7e;
/* rgb */ color: rgb(88, 30, 126);
/* oklch */ color: oklch(37.5% 0.154 308.1);
Tailwind
colors: {
  custom: {
    50: '#8b60a4',
    500: '#581e7e',
    950: '#000000',
  },
}
SCSS
$custom: #581e7e;
$custom-light: #8b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#581e7e",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 276.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37537,
    "c": 0.15445,
    "h": 308.1
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#581E7E
secondary
#71B147
accent
#E54383
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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