#581966#581966

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

Color values

HEX#581966
RGBrgb(88, 25, 102)
HSLhsl(289, 61%, 25%)
HSVhsv(289, 75%, 40%)
CMYKcmyk(13.7%, 75.5%, 0%, 60%)
CIE-LABlab(22.76, 40.21, -31.49)
CIE-LCHlch(22.76, 51.07, 321.94°)
OKLaboklab(35.17% 0.104 -0.0882)
OKLCHoklch(35.17% 0.136 319.7)
XYZxyz(6.7701, 3.7296, 12.9311)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581966 #276619
analogous
#321966 #581966 #66194E
triadic
#581966 #665819 #196658
tetradic
#581966 #663219 #276619 #194E66
square
#581966 #663219 #276619 #194E66
split-complementary
#581966 #4E6619 #196632
monochromatic
#150619 #2E0D35 #581966 #822597 #AD31C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581966#FFFFFF#000000##FFFFFF
##5819661.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)
#003268
Deuteranopia (green-blind)
#1F3864
Tritanopia (blue-blind)
#58283E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581966;
/* rgb */ color: rgb(88, 25, 102);
/* oklch */ color: oklch(35.2% 0.136 319.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c92',
    500: '#581966',
    950: '#000000',
  },
}
SCSS
$custom: #581966;
$custom-light: #8a5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#581966",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 289.091,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35174,
    "c": 0.13637,
    "h": 319.7
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#581966
secondary
#509C3F
accent
#E44461
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581966

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

Preview Lab → · Contrast checker → · Palette generator →

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