#581868#581868

#581868 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.140 H 318.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#581868
RGBrgb(88, 24, 104)
HSLhsl(288, 63%, 25%)
HSVhsv(288, 77%, 41%)
CMYKcmyk(15.4%, 76.9%, 0%, 59.2%)
CIE-LABlab(22.75, 41.04, -32.80)
CIE-LCHlch(22.75, 52.54, 321.37°)
OKLaboklab(35.21% 0.1049 -0.0921)
OKLCHoklch(35.21% 0.14 318.7)
XYZxyz(6.8495, 3.7278, 13.4528)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581868 #286818
analogous
#301868 #581868 #681850
triadic
#581868 #685818 #186858
tetradic
#581868 #683018 #286818 #185068
square
#581868 #683018 #286818 #185068
split-complementary
#581868 #506818 #186830
monochromatic
#150619 #2E0D36 #581868 #82239A #AC2FCB

Accessibility & contrast

On white

12.03
#581868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581868
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581868#FFFFFF#000000##FFFFFF
##5818681.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#1D3866
Tritanopia (blue-blind)
#58283E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581868;
/* rgb */ color: rgb(88, 24, 104);
/* oklch */ color: oklch(35.2% 0.140 318.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c94',
    500: '#581868',
    950: '#000000',
  },
}
SCSS
$custom: #581868;
$custom-light: #8a5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#581868",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 288,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35214,
    "c": 0.13957,
    "h": 318.7
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#581868
secondary
#519E3E
accent
#E64263
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581868

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

Preview Lab → · Contrast checker → · Palette generator →

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