#581373#581373

#581373 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.156 H 313.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#581373
RGBrgb(88, 19, 115)
HSLhsl(283, 72%, 26%)
HSVhsv(283, 83%, 45%)
CMYKcmyk(23.5%, 83.5%, 0%, 54.9%)
CIE-LABlab(22.93, 45.25, -39.64)
CIE-LCHlch(22.93, 60.16, 318.78°)
OKLaboklab(35.6% 0.1079 -0.1121)
OKLCHoklch(35.6% 0.156 313.9)
XYZxyz(7.3513, 3.7785, 16.5584)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581373 #2E7313
analogous
#281373 #581373 #73135E
triadic
#581373 #735813 #137358
tetradic
#581373 #732813 #2E7313 #135E73
square
#581373 #732813 #2E7313 #135E73
split-complementary
#581373 #5E7313 #137328
monochromatic
#14041A #300A3E #581373 #801CA8 #A825DB

Accessibility & contrast

On white

11.96
#581373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581373
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581373#FFFFFF#000000##FFFFFF
##5813731.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#552B44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581373;
/* rgb */ color: rgb(88, 19, 115);
/* oklch */ color: oklch(35.6% 0.156 313.9);
Tailwind
colors: {
  custom: {
    50: '#8b5b9c',
    500: '#581373',
    950: '#000000',
  },
}
SCSS
$custom: #581373;
$custom-light: #8b5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581373",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 283.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.15557,
    "h": 313.9
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#581373
secondary
#58AA38
accent
#EE396C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581373

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

Preview Lab → · Contrast checker → · Palette generator →

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