#581A67#581A67

#581A67 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.136 H 319.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#581A67
RGBrgb(88, 26, 103)
HSLhsl(288, 60%, 25%)
HSVhsv(288, 75%, 40%)
CMYKcmyk(14.6%, 74.8%, 0%, 59.6%)
CIE-LABlab(22.98, 40.00, -31.79)
CIE-LCHlch(22.98, 51.09, 321.52°)
OKLaboklab(35.35% 0.1028 -0.0891)
OKLCHoklch(35.35% 0.136 319.1)
XYZxyz(6.8418, 3.7931, 13.2011)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A67 #29671A
analogous
#321A67 #581A67 #671A4F
triadic
#581A67 #67581A #1A6758
tetradic
#581A67 #67321A #29671A #1A4F67
square
#581A67 #67321A #29671A #1A4F67
split-complementary
#581A67 #4F671A #1A6732
monochromatic
#150618 #2E0E36 #581A67 #822698 #AB33C9

Accessibility & contrast

On white

11.94
#581A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A67
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A67#FFFFFF#000000##FFFFFF
##581A671.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#58293E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581a67;
/* rgb */ color: rgb(88, 26, 103);
/* oklch */ color: oklch(35.4% 0.136 319.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d93',
    500: '#581a67',
    950: '#000000',
  },
}
SCSS
$custom: #581a67;
$custom-light: #8a5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#581a67",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 288.312,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.13604,
    "h": 319.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#581A67
secondary
#529D40
accent
#E34564
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581A67

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

Preview Lab → · Contrast checker → · Palette generator →

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