#581152#581152

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

Color values

HEX#581152
RGBrgb(88, 17, 82)
HSLhsl(305, 68%, 21%)
HSVhsv(305, 81%, 35%)
CMYKcmyk(0%, 80.7%, 6.8%, 65.5%)
CIE-LABlab(20.38, 39.44, -21.98)
CIE-LCHlch(20.38, 45.15, 330.86°)
OKLaboklab(33.06% 0.113 -0.0605)
OKLCHoklch(33.06% 0.128 331.8)
XYZxyz(5.7480, 3.0853, 8.2738)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581152 #115817
analogous
#3A1158 #581152 #58112E
triadic
#581152 #525811 #115258
tetradic
#581152 #583A11 #115817 #112E58
square
#581152 #583A11 #115817 #112E58
split-complementary
#581152 #2E5811 #11583A
monochromatic
#1A0518 #250722 #581152 #8B1B82 #BF25B2

Accessibility & contrast

On white

12.99
#581152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581152
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581152#FFFFFF#000000##FFFFFF
##5811521.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581152;
/* rgb */ color: rgb(88, 17, 82);
/* oklch */ color: oklch(33.1% 0.128 331.8);
Tailwind
colors: {
  custom: {
    50: '#8a5883',
    500: '#581152',
    950: '#000000',
  },
}
SCSS
$custom: #581152;
$custom-light: #8a5883;
$custom-dark: #000000;
JSON
{
  "hex": "#581152",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 305.07,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33061,
    "c": 0.1282,
    "h": 331.8
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#581152
secondary
#34913C
accent
#EA4C3D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581152

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

Preview Lab → · Contrast checker → · Palette generator →

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