#581A66#581A66

#581A66 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.135 H 319.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#581A66
RGBrgb(88, 26, 102)
HSLhsl(289, 59%, 25%)
HSVhsv(289, 75%, 40%)
CMYKcmyk(13.7%, 74.5%, 0%, 60%)
CIE-LABlab(22.91, 39.78, -31.25)
CIE-LCHlch(22.91, 50.59, 321.85°)
OKLaboklab(35.28% 0.1029 -0.0875)
OKLCHoklch(35.28% 0.135 319.6)
XYZxyz(6.7919, 3.7731, 12.9383)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A66 #28661A
analogous
#321A66 #581A66 #661A4E
triadic
#581A66 #66581A #1A6658
tetradic
#581A66 #66321A #28661A #1A4E66
square
#581A66 #66321A #28661A #1A4E66
split-complementary
#581A66 #4E661A #1A6632
monochromatic
#150618 #2E0E35 #581A66 #822697 #AC33C8

Accessibility & contrast

On white

11.97
#581A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A66
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A66#FFFFFF#000000##FFFFFF
##581A661.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#203964
Tritanopia (blue-blind)
#58283E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581a66;
/* rgb */ color: rgb(88, 26, 102);
/* oklch */ color: oklch(35.3% 0.135 319.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d92',
    500: '#581a66',
    950: '#000000',
  },
}
SCSS
$custom: #581a66;
$custom-light: #8a5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#581a66",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 288.947,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35282,
    "c": 0.13505,
    "h": 319.6
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#581A66
secondary
#519C40
accent
#E34562
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581A66

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

Preview Lab → · Contrast checker → · Palette generator →

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