#581863#581863

#581863 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.135 H 321.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#581863
RGBrgb(88, 24, 99)
HSLhsl(291, 61%, 24%)
HSVhsv(291, 76%, 39%)
CMYKcmyk(11.1%, 75.8%, 0%, 61.2%)
CIE-LABlab(22.41, 40.00, -30.08)
CIE-LCHlch(22.41, 50.05, 323.06°)
OKLaboklab(34.86% 0.1053 -0.0841)
OKLCHoklch(34.86% 0.135 321.4)
XYZxyz(6.6030, 3.6292, 12.1547)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581863 #236318
analogous
#331863 #581863 #631849
triadic
#581863 #635818 #186358
tetradic
#581863 #633318 #236318 #184963
square
#581863 #633318 #236318 #184963
split-complementary
#581863 #496318 #186333
monochromatic
#160619 #2C0C32 #581863 #842494 #B030C6

Accessibility & contrast

On white

12.17
#581863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581863
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581863#FFFFFF#000000##FFFFFF
##5818631.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#213861
Tritanopia (blue-blind)
#59263C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581863;
/* rgb */ color: rgb(88, 24, 99);
/* oklch */ color: oklch(34.9% 0.135 321.4);
Tailwind
colors: {
  custom: {
    50: '#8a5c90',
    500: '#581863',
    950: '#000000',
  },
}
SCSS
$custom: #581863;
$custom-light: #8a5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#581863",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 291.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.13477,
    "h": 321.4
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#581863
secondary
#4B993E
accent
#E4445B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581863

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

Preview Lab → · Contrast checker → · Palette generator →

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