#581479#581479

#581479 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.160 H 311.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#581479
RGBrgb(88, 20, 121)
HSLhsl(280, 72%, 28%)
HSVhsv(280, 83%, 47%)
CMYKcmyk(27.3%, 83.5%, 0%, 52.5%)
CIE-LABlab(23.52, 46.22, -42.51)
CIE-LCHlch(23.52, 62.80, 317.39°)
OKLaboklab(36.17% 0.1056 -0.1205)
OKLCHoklch(36.17% 0.16 311.2)
XYZxyz(7.7252, 3.9557, 18.4420)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581479 #357914
analogous
#251479 #581479 #791467
triadic
#581479 #795814 #147958
tetradic
#581479 #792514 #357914 #146779
square
#581479 #792514 #357914 #146779
split-complementary
#581479 #677914 #147925
monochromatic
#13041A #320B44 #581479 #7E1DAE #A22BDC

Accessibility & contrast

On white

11.73
#581479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581479
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581479#FFFFFF#000000##FFFFFF
##5814791.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#542E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581479;
/* rgb */ color: rgb(88, 20, 121);
/* oklch */ color: oklch(36.2% 0.160 311.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ba0',
    500: '#581479',
    950: '#000000',
  },
}
SCSS
$custom: #581479;
$custom-light: #8b5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#581479",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 280.396,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.16029,
    "h": 311.2
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#581479
secondary
#60AF3A
accent
#EE3975
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #581479

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

Preview Lab → · Contrast checker → · Palette generator →

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