#581052#581052

#581052 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.129 H 331.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#581052
RGBrgb(88, 16, 82)
HSLhsl(305, 69%, 20%)
HSVhsv(305, 82%, 35%)
CMYKcmyk(0%, 81.8%, 6.8%, 65.5%)
CIE-LABlab(20.26, 39.78, -22.17)
CIE-LCHlch(20.26, 45.54, 330.87°)
OKLaboklab(32.98% 0.114 -0.061)
OKLCHoklch(32.98% 0.129 331.8)
XYZxyz(5.7328, 3.0550, 8.2687)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581052 #105816
analogous
#3A1058 #581052 #58102E
triadic
#581052 #525810 #105258
tetradic
#581052 #583A10 #105816 #102E58
square
#581052 #583A10 #105816 #102E58
split-complementary
#581052 #2E5810 #10583A
monochromatic
#1A0518 #240722 #581052 #8C1982 #C023B3

Accessibility & contrast

On white

13.04
#581052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#581052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581052
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581052#FFFFFF#000000##FFFFFF
##5810521.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#283450
Tritanopia (blue-blind)
#5C1930
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581052;
/* rgb */ color: rgb(88, 16, 82);
/* oklch */ color: oklch(33.0% 0.129 331.8);
Tailwind
colors: {
  custom: {
    50: '#8a5883',
    500: '#581052',
    950: '#000000',
  },
}
SCSS
$custom: #581052;
$custom-light: #8a5883;
$custom-dark: #000000;
JSON
{
  "hex": "#581052",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 305,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32976,
    "c": 0.12933,
    "h": 331.8
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#581052
secondary
#32913A
accent
#EC4A3C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581052

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

Preview Lab → · Contrast checker → · Palette generator →

#581052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva