#581155#581155

#581155 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.131 H 329.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#581155
RGBrgb(88, 17, 85)
HSLhsl(303, 68%, 21%)
HSVhsv(303, 81%, 35%)
CMYKcmyk(0%, 80.7%, 3.4%, 65.5%)
CIE-LABlab(20.56, 39.97, -23.72)
CIE-LCHlch(20.56, 46.48, 329.32°)
OKLaboklab(33.25% 0.1131 -0.0655)
OKLCHoklch(33.25% 0.131 329.9)
XYZxyz(5.8646, 3.1319, 8.8882)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581155 #115814
analogous
#371158 #581155 #581131
triadic
#581155 #555811 #115558
tetradic
#581155 #583711 #115814 #113158
square
#581155 #583711 #115814 #113158
split-complementary
#581155 #315811 #115837
monochromatic
#1A0519 #250723 #581155 #8B1B87 #BF25B8

Accessibility & contrast

On white

12.91
#581155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581155
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581155#FFFFFF#000000##FFFFFF
##5811551.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072B57
Deuteranopia (green-blind)
#273553
Tritanopia (blue-blind)
#5C1B32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581155;
/* rgb */ color: rgb(88, 17, 85);
/* oklch */ color: oklch(33.3% 0.131 329.9);
Tailwind
colors: {
  custom: {
    50: '#8a5885',
    500: '#581155',
    950: '#000000',
  },
}
SCSS
$custom: #581155;
$custom-light: #8a5885;
$custom-dark: #000000;
JSON
{
  "hex": "#581155",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 302.535,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.1307,
    "h": 329.9
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#581155
secondary
#349138
accent
#EA453D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581155

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

Preview Lab → · Contrast checker → · Palette generator →

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