#581C62#581C62

#581C62 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.128 H 321.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#581C62
RGBrgb(88, 28, 98)
HSLhsl(291, 56%, 25%)
HSVhsv(291, 71%, 38%)
CMYKcmyk(10.2%, 71.4%, 0%, 61.6%)
CIE-LABlab(22.96, 38.06, -28.55)
CIE-LCHlch(22.96, 47.57, 323.12°)
OKLaboklab(35.23% 0.1007 -0.0797)
OKLCHoklch(35.23% 0.128 321.6)
XYZxyz(6.6441, 3.7874, 11.9340)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C62 #26621C
analogous
#351C62 #581C62 #621C49
triadic
#581C62 #62581C #1C6258
tetradic
#581C62 #62351C #26621C #1C4962
square
#581C62 #62351C #26621C #1C4962
split-complementary
#581C62 #49621C #1C6235
monochromatic
#150718 #2D0E32 #581C62 #832A92 #AD37C1

Accessibility & contrast

On white

11.95
#581C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C62
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C62#FFFFFF#000000##FFFFFF
##581C621.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073264
Deuteranopia (green-blind)
#243960
Tritanopia (blue-blind)
#59283C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581c62;
/* rgb */ color: rgb(88, 28, 98);
/* oklch */ color: oklch(35.2% 0.128 321.6);
Tailwind
colors: {
  custom: {
    50: '#8a5e8f',
    500: '#581c62',
    950: '#000000',
  },
}
SCSS
$custom: #581c62;
$custom-light: #8a5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#581c62",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 291.429,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.12837,
    "h": 321.6
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#581C62
secondary
#4F9743
accent
#DF495E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581C62

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

Preview Lab → · Contrast checker → · Palette generator →

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