#581C67#581C67

#581C67 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.133 H 318.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#581C67
RGBrgb(88, 28, 103)
HSLhsl(288, 57%, 26%)
HSVhsv(288, 73%, 40%)
CMYKcmyk(14.6%, 72.8%, 0%, 59.6%)
CIE-LABlab(23.29, 39.12, -31.29)
CIE-LCHlch(23.29, 50.09, 321.34°)
OKLaboklab(35.58% 0.1005 -0.0877)
OKLCHoklch(35.58% 0.133 318.9)
XYZxyz(6.8876, 3.8848, 13.2164)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C67 #2B671C
analogous
#321C67 #581C67 #671C50
triadic
#581C67 #67581C #1C6758
tetradic
#581C67 #67321C #2B671C #1C5067
square
#581C67 #67321C #2B671C #1C5067
split-complementary
#581C67 #50671C #1C6732
monochromatic
#150718 #2F0F37 #581C67 #812997 #AA36C7

Accessibility & contrast

On white

11.82
#581C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C67
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C67#FFFFFF#000000##FFFFFF
##581C671.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#213965
Tritanopia (blue-blind)
#582A3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581c67;
/* rgb */ color: rgb(88, 28, 103);
/* oklch */ color: oklch(35.6% 0.133 318.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e93',
    500: '#581c67',
    950: '#000000',
  },
}
SCSS
$custom: #581c67;
$custom-light: #8a5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#581c67",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 288,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35575,
    "c": 0.13334,
    "h": 318.9
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#581C67
secondary
#559C43
accent
#E14766
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581C67

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

Preview Lab → · Contrast checker → · Palette generator →

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