#581F66#581F66

#581F66 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.128 H 319.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#581F66
RGBrgb(88, 31, 102)
HSLhsl(288, 53%, 26%)
HSVhsv(288, 70%, 40%)
CMYKcmyk(13.7%, 69.6%, 0%, 60%)
CIE-LABlab(23.72, 37.50, -29.95)
CIE-LCHlch(23.72, 47.99, 321.39°)
OKLaboklab(35.86% 0.0968 -0.0838)
OKLCHoklch(35.86% 0.128 319.1)
XYZxyz(6.9124, 4.0143, 12.9785)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F66 #2D661F
analogous
#341F66 #581F66 #661F50
triadic
#581F66 #66581F #1F6658
tetradic
#581F66 #66341F #2D661F #1F5066
square
#581F66 #66341F #2D661F #1F5066
split-complementary
#581F66 #50661F #1F6634
monochromatic
#140717 #301137 #581F66 #802D95 #A93CC4

Accessibility & contrast

On white

11.65
#581F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F66
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F66#FFFFFF#000000##FFFFFF
##581F661.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#243A64
Tritanopia (blue-blind)
#582C3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581f66;
/* rgb */ color: rgb(88, 31, 102);
/* oklch */ color: oklch(35.9% 0.128 319.1);
Tailwind
colors: {
  custom: {
    50: '#8a5f92',
    500: '#581f66',
    950: '#000000',
  },
}
SCSS
$custom: #581f66;
$custom-light: #8a5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#581f66",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 288.169,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.12804,
    "h": 319.1
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#581F66
secondary
#579A46
accent
#DD4B68
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581F66

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

Preview Lab → · Contrast checker → · Palette generator →

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