#581E7A#581E7A

#581E7A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.150 H 309.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#581E7A
RGBrgb(88, 30, 122)
HSLhsl(278, 61%, 30%)
HSVhsv(278, 75%, 48%)
CMYKcmyk(27.9%, 75.4%, 0%, 52.2%)
CIE-LABlab(24.98, 42.50, -40.79)
CIE-LCHlch(24.98, 58.91, 316.17°)
OKLaboklab(37.22% 0.096 -0.1156)
OKLCHoklch(37.22% 0.15 309.7)
XYZxyz(8.0009, 4.4086, 18.8380)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E7A #407A1E
analogous
#2A1E7A #581E7A #7A1E6E
triadic
#581E7A #7A581E #1E7A58
tetradic
#581E7A #7A2A1E #407A1E #1E6E7A
square
#581E7A #7A2A1E #407A1E #1E6E7A
split-complementary
#581E7A #6E7A1E #1E7A2A
monochromatic
#120619 #351249 #581E7A #7B2AAB #9C42D0

Accessibility & contrast

On white

11.16
#581E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E7A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E7A#FFFFFF#000000##FFFFFF
##581E7A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#093C78
Tritanopia (blue-blind)
#53334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581e7a;
/* rgb */ color: rgb(88, 30, 122);
/* oklch */ color: oklch(37.2% 0.150 309.7);
Tailwind
colors: {
  custom: {
    50: '#8b60a1',
    500: '#581e7a',
    950: '#000000',
  },
}
SCSS
$custom: #581e7a;
$custom-light: #8b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#581e7a",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 277.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.15025,
    "h": 309.7
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#581E7A
secondary
#6CAE46
accent
#E4447F
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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