#581176#581176

#581176 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.160 H 312.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#581176
RGBrgb(88, 17, 118)
HSLhsl(282, 75%, 26%)
HSVhsv(282, 86%, 46%)
CMYKcmyk(25.4%, 85.6%, 0%, 53.7%)
CIE-LABlab(22.94, 46.55, -41.54)
CIE-LCHlch(22.94, 62.38, 318.25°)
OKLaboklab(35.69% 0.1087 -0.1177)
OKLCHoklch(35.69% 0.16 312.7)
XYZxyz(7.4944, 3.7838, 17.4716)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581176 #2F7611
analogous
#261176 #581176 #761162
triadic
#581176 #765811 #117658
tetradic
#581176 #762611 #2F7611 #116276
square
#581176 #762611 #2F7611 #116276
split-complementary
#581176 #627611 #117626
monochromatic
#14041B #300941 #581176 #8019AB #A722DF

Accessibility & contrast

On white

11.95
#581176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581176
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581176#FFFFFF#000000##FFFFFF
##5811761.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#542B45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581176;
/* rgb */ color: rgb(88, 17, 118);
/* oklch */ color: oklch(35.7% 0.160 312.7);
Tailwind
colors: {
  custom: {
    50: '#8b5a9e',
    500: '#581176',
    950: '#000000',
  },
}
SCSS
$custom: #581176;
$custom-light: #8b5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581176",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 282.178,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35687,
    "c": 0.16021,
    "h": 312.7
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#581176
secondary
#59AD36
accent
#F1366E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581176

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

Preview Lab → · Contrast checker → · Palette generator →

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