#581E89#581E89

#581E89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.166 H 304.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#581E89
RGBrgb(88, 30, 137)
HSLhsl(273, 64%, 33%)
HSVhsv(273, 78%, 54%)
CMYKcmyk(35.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(26.18, 46.09, -48.28)
CIE-LCHlch(26.18, 66.75, 313.67°)
OKLaboklab(38.45% 0.0929 -0.1376)
OKLCHoklch(38.45% 0.166 304)
XYZxyz(9.0031, 4.8094, 24.1161)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E89 #4F891E
analogous
#221E89 #581E89 #891E85
triadic
#581E89 #89581E #1E8958
tetradic
#581E89 #89221E #4F891E #1E8589
square
#581E89 #89221E #4F891E #1E8589
split-complementary
#581E89 #85891E #1E8922
monochromatic
#180825 #381357 #581E89 #7829BB #974AD7

Accessibility & contrast

On white

10.70
#581E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#581E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E89
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E89#FFFFFF#000000##FFFFFF
##581E891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4E3953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #581e89;
/* rgb */ color: rgb(88, 30, 137);
/* oklch */ color: oklch(38.4% 0.166 304.0);
Tailwind
colors: {
  custom: {
    50: '#8c61ac',
    500: '#581e89',
    950: '#000000',
  },
}
SCSS
$custom: #581e89;
$custom-light: #8c61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#581e89",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 272.523,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.166,
    "h": 304
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#581E89
secondary
#7DBA49
accent
#E7418D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581E89

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

Preview Lab → · Contrast checker → · Palette generator →

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