#581167#581167

#581167 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.146 H 319.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#581167
RGBrgb(88, 17, 103)
HSLhsl(290, 72%, 24%)
HSVhsv(290, 83%, 40%)
CMYKcmyk(14.6%, 83.5%, 0%, 59.6%)
CIE-LABlab(21.78, 43.41, -33.71)
CIE-LCHlch(21.78, 54.96, 322.17°)
OKLaboklab(34.51% 0.1118 -0.0947)
OKLCHoklch(34.51% 0.146 319.7)
XYZxyz(6.6728, 3.4552, 13.1448)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581167 #206711
analogous
#2D1167 #581167 #67114B
triadic
#581167 #675811 #116758
tetradic
#581167 #672D11 #206711 #114B67
square
#581167 #672D11 #206711 #114B67
split-complementary
#581167 #4B6711 #11672D
monochromatic
#16041A #2B0832 #581167 #851A9C #B222D0

Accessibility & contrast

On white

12.42
#581167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581167
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581167#FFFFFF#000000##FFFFFF
##5811671.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#193665
Tritanopia (blue-blind)
#58243C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581167;
/* rgb */ color: rgb(88, 17, 103);
/* oklch */ color: oklch(34.5% 0.146 319.7);
Tailwind
colors: {
  custom: {
    50: '#8a5993',
    500: '#581167',
    950: '#000000',
  },
}
SCSS
$custom: #581167;
$custom-light: #8a5993;
$custom-dark: #000000;
JSON
{
  "hex": "#581167",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 289.535,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34505,
    "c": 0.14648,
    "h": 319.7
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#581167
secondary
#479F35
accent
#EE3959
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581167

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

Preview Lab → · Contrast checker → · Palette generator →

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