#581D84#581D84

#581D84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.162 H 305.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#581D84
RGBrgb(88, 29, 132)
HSLhsl(274, 64%, 32%)
HSVhsv(274, 78%, 52%)
CMYKcmyk(33.3%, 78%, 0%, 48.2%)
CIE-LABlab(25.62, 45.31, -46.06)
CIE-LCHlch(25.62, 64.61, 314.53°)
OKLaboklab(37.92% 0.095 -0.131)
OKLCHoklch(37.92% 0.162 305.9)
XYZxyz(8.6278, 4.6195, 22.2624)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D84 #49841D
analogous
#251D84 #581D84 #841D7D
triadic
#581D84 #84581D #1D8458
tetradic
#581D84 #84251D #49841D #1D7D84
square
#581D84 #84251D #49841D #1D7D84
split-complementary
#581D84 #7D841D #1D8425
monochromatic
#150720 #371252 #581D84 #7928B6 #9845D6

Accessibility & contrast

On white

10.92
#581D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#581D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D84
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D84#FFFFFF#000000##FFFFFF
##581D841.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#50374F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581d84;
/* rgb */ color: rgb(88, 29, 132);
/* oklch */ color: oklch(37.9% 0.162 305.9);
Tailwind
colors: {
  custom: {
    50: '#8c60a9',
    500: '#581d84',
    950: '#000000',
  },
}
SCSS
$custom: #581d84;
$custom-light: #8c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#581d84",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 274.369,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.16188,
    "h": 305.9
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#581D84
secondary
#76B746
accent
#E74188
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581D84

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

Preview Lab → · Contrast checker → · Palette generator →

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