#581864#581864

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

Color values

HEX#581864
RGBrgb(88, 24, 100)
HSLhsl(291, 61%, 24%)
HSVhsv(291, 76%, 39%)
CMYKcmyk(12%, 76%, 0%, 60.8%)
CIE-LABlab(22.47, 40.21, -30.63)
CIE-LCHlch(22.47, 50.55, 322.70°)
OKLaboklab(34.93% 0.1052 -0.0857)
OKLCHoklch(34.93% 0.136 320.8)
XYZxyz(6.6511, 3.6484, 12.4080)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581864 #246418
analogous
#321864 #581864 #64184A
triadic
#581864 #645818 #186458
tetradic
#581864 #643218 #246418 #184A64
square
#581864 #643218 #246418 #184A64
split-complementary
#581864 #4A6418 #186432
monochromatic
#160619 #2D0C33 #581864 #832495 #AF30C7

Accessibility & contrast

On white

12.14
#581864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581864
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581864#FFFFFF#000000##FFFFFF
##5818641.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581864;
/* rgb */ color: rgb(88, 24, 100);
/* oklch */ color: oklch(34.9% 0.136 320.8);
Tailwind
colors: {
  custom: {
    50: '#8a5c90',
    500: '#581864',
    950: '#000000',
  },
}
SCSS
$custom: #581864;
$custom-light: #8a5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#581864",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 290.526,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.13572,
    "h": 320.8
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#581864
secondary
#4C9A3E
accent
#E4435D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581864

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

Preview Lab → · Contrast checker → · Palette generator →

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