#581879#581879

#581879 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.156 H 310.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#581879
RGBrgb(88, 24, 121)
HSLhsl(280, 67%, 28%)
HSVhsv(280, 80%, 47%)
CMYKcmyk(27.3%, 80.2%, 0%, 52.5%)
CIE-LABlab(24.03, 44.77, -41.70)
CIE-LCHlch(24.03, 61.18, 317.03°)
OKLaboklab(36.52% 0.1022 -0.1182)
OKLCHoklch(36.52% 0.156 310.8)
XYZxyz(7.8017, 4.1086, 18.4675)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581879 #397918
analogous
#271879 #581879 #791869
triadic
#581879 #795818 #187958
tetradic
#581879 #792718 #397918 #186979
square
#581879 #792718 #397918 #186979
split-complementary
#581879 #697918 #187927
monochromatic
#13051A #330E46 #581879 #7D22AC #A035D7

Accessibility & contrast

On white

11.53
#581879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581879
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581879#FFFFFF#000000##FFFFFF
##5818791.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#543048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581879;
/* rgb */ color: rgb(88, 24, 121);
/* oklch */ color: oklch(36.5% 0.156 310.8);
Tailwind
colors: {
  custom: {
    50: '#8b5da0',
    500: '#581879',
    950: '#000000',
  },
}
SCSS
$custom: #581879;
$custom-light: #8b5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#581879",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 279.588,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.15622,
    "h": 310.8
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#581879
secondary
#65AE3F
accent
#EA3E78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #581879

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

Preview Lab → · Contrast checker → · Palette generator →

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