#581686#581686

#581686 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.171 H 306.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#581686
RGBrgb(88, 22, 134)
HSLhsl(275, 72%, 31%)
HSVhsv(275, 84%, 53%)
CMYKcmyk(34.3%, 83.6%, 0%, 47.5%)
CIE-LABlab(24.86, 48.47, -48.56)
CIE-LCHlch(24.86, 68.61, 314.95°)
OKLaboklab(37.44% 0.1005 -0.1383)
OKLCHoklch(37.44% 0.171 306)
XYZxyz(8.6135, 4.3698, 22.9393)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581686 #448616
analogous
#201686 #581686 #86167C
triadic
#581686 #865816 #168658
tetradic
#581686 #862016 #448616 #167C86
square
#581686 #862016 #448616 #167C86
split-complementary
#581686 #7C8616 #168620
monochromatic
#13051D #350D51 #581686 #7B1FBB #9A38DE

Accessibility & contrast

On white

11.21
#581686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#581686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581686
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581686#FFFFFF#000000##FFFFFF
##5816861.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#50354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581686;
/* rgb */ color: rgb(88, 22, 134);
/* oklch */ color: oklch(37.4% 0.171 306.0);
Tailwind
colors: {
  custom: {
    50: '#8c5daa',
    500: '#581686',
    950: '#000000',
  },
}
SCSS
$custom: #581686;
$custom-light: #8c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#581686",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 275.357,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.17099,
    "h": 306
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#581686
secondary
#71BA3E
accent
#EF3984
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581686

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

Preview Lab → · Contrast checker → · Palette generator →

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