#581766#581766

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

Color values

HEX#581766
RGBrgb(88, 23, 102)
HSLhsl(289, 63%, 25%)
HSVhsv(289, 77%, 40%)
CMYKcmyk(13.7%, 77.5%, 0%, 60%)
CIE-LABlab(22.47, 41.03, -31.95)
CIE-LCHlch(22.47, 52.00, 322.09°)
OKLaboklab(34.97% 0.1061 -0.0896)
OKLCHoklch(34.97% 0.139 319.8)
XYZxyz(6.7289, 3.6471, 12.9173)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581766 #256617
analogous
#311766 #581766 #66174D
triadic
#581766 #665817 #176658
tetradic
#581766 #663117 #256617 #174D66
square
#581766 #663117 #256617 #174D66
split-complementary
#581766 #4D6617 #176631
monochromatic
#160619 #2D0C34 #581766 #832298 #AE2ECA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581766#FFFFFF#000000##FFFFFF
##5817661.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)
#003168
Deuteranopia (green-blind)
#1E3864
Tritanopia (blue-blind)
#58273D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581766;
/* rgb */ color: rgb(88, 23, 102);
/* oklch */ color: oklch(35.0% 0.139 319.8);
Tailwind
colors: {
  custom: {
    50: '#8a5c92',
    500: '#581766',
    950: '#000000',
  },
}
SCSS
$custom: #581766;
$custom-light: #8a5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#581766",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 289.367,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.13888,
    "h": 319.8
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#581766
secondary
#4D9C3C
accent
#E6425F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581766

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

Preview Lab → · Contrast checker → · Palette generator →

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