#581E7B#581E7B

#581E7B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.151 H 309.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#581E7B
RGBrgb(88, 30, 123)
HSLhsl(277, 61%, 30%)
HSVhsv(277, 76%, 48%)
CMYKcmyk(28.5%, 75.6%, 0%, 51.8%)
CIE-LABlab(25.06, 42.73, -41.30)
CIE-LCHlch(25.06, 59.43, 315.98°)
OKLaboklab(37.3% 0.0959 -0.1171)
OKLCHoklch(37.3% 0.151 309.3)
XYZxyz(8.0632, 4.4335, 19.1660)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E7B #417B1E
analogous
#291E7B #581E7B #7B1E70
triadic
#581E7B #7B581E #1E7B58
tetradic
#581E7B #7B291E #417B1E #1E707B
square
#581E7B #7B291E #417B1E #1E707B
split-complementary
#581E7B #707B1E #1E7B29
monochromatic
#120619 #35124A #581E7B #7B2AAC #9B42D1

Accessibility & contrast

On white

11.13
#581E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E7B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E7B#FFFFFF#000000##FFFFFF
##581E7B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#53334B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581e7b;
/* rgb */ color: rgb(88, 30, 123);
/* oklch */ color: oklch(37.3% 0.151 309.3);
Tailwind
colors: {
  custom: {
    50: '#8b60a2',
    500: '#581e7b',
    950: '#000000',
  },
}
SCSS
$custom: #581e7b;
$custom-light: #8b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#581e7b",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 277.419,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.1513,
    "h": 309.3
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#581E7B
secondary
#6EAE46
accent
#E44480
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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