#581C6F#581C6F

#581C6F is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.141 H 314.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#581C6F
RGBrgb(88, 28, 111)
HSLhsl(283, 60%, 27%)
HSVhsv(283, 75%, 44%)
CMYKcmyk(20.7%, 74.8%, 0%, 56.5%)
CIE-LABlab(23.85, 40.87, -35.58)
CIE-LCHlch(23.85, 54.18, 318.96°)
OKLaboklab(36.15% 0.0998 -0.1002)
OKLCHoklch(36.15% 0.141 314.9)
XYZxyz(7.3085, 4.0532, 15.4332)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C6F #336F1C
analogous
#2E1C6F #581C6F #6F1C5D
triadic
#581C6F #6F581C #1C6F58
tetradic
#581C6F #6F2E1C #336F1C #1C5D6F
square
#581C6F #6F2E1C #336F1C #1C5D6F
split-complementary
#581C6F #5D6F1C #1C6F2E
monochromatic
#130618 #31103E #581C6F #7F28A0 #A438CD

Accessibility & contrast

On white

11.60
#581C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C6F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C6F#FFFFFF#000000##FFFFFF
##581C6F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#193A6D
Tritanopia (blue-blind)
#562D43
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581c6f;
/* rgb */ color: rgb(88, 28, 111);
/* oklch */ color: oklch(36.2% 0.141 314.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e99',
    500: '#581c6f',
    950: '#000000',
  },
}
SCSS
$custom: #581c6f;
$custom-light: #8a5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#581c6f",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 283.373,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.14143,
    "h": 314.9
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#581C6F
secondary
#5EA443
accent
#E34571
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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