#581452#581452

#581452 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.125 H 331.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#581452
RGBrgb(88, 20, 82)
HSLhsl(305, 63%, 21%)
HSVhsv(305, 77%, 35%)
CMYKcmyk(0%, 77.3%, 6.8%, 65.5%)
CIE-LABlab(20.77, 38.34, -21.37)
CIE-LCHlch(20.77, 43.89, 330.86°)
OKLaboklab(33.34% 0.1098 -0.0588)
OKLCHoklch(33.34% 0.125 331.8)
XYZxyz(5.7977, 3.1847, 8.2904)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581452 #14581A
analogous
#3C1458 #581452 #581430
triadic
#581452 #525814 #145258
tetradic
#581452 #583C14 #14581A #143058
square
#581452 #583C14 #14581A #143058
split-complementary
#581452 #305814 #14583C
monochromatic
#190617 #260924 #581452 #8A1F80 #BC2BAF

Accessibility & contrast

On white

12.83
#581452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#581452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581452
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581452#FFFFFF#000000##FFFFFF
##5814521.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#293550
Tritanopia (blue-blind)
#5C1C31
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581452;
/* rgb */ color: rgb(88, 20, 82);
/* oklch */ color: oklch(33.3% 0.125 331.8);
Tailwind
colors: {
  custom: {
    50: '#8a5983',
    500: '#581452',
    950: '#000000',
  },
}
SCSS
$custom: #581452;
$custom-light: #8a5983;
$custom-dark: #000000;
JSON
{
  "hex": "#581452",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 305.294,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.12456,
    "h": 331.8
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#581452
secondary
#389040
accent
#E65042
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581452

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

Preview Lab → · Contrast checker → · Palette generator →

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