#581154#581154

#581154 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.130 H 330.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#581154
RGBrgb(88, 17, 84)
HSLhsl(303, 68%, 21%)
HSVhsv(303, 81%, 35%)
CMYKcmyk(0%, 80.7%, 4.5%, 65.5%)
CIE-LABlab(20.50, 39.79, -23.14)
CIE-LCHlch(20.50, 46.03, 329.82°)
OKLaboklab(33.19% 0.1131 -0.0639)
OKLCHoklch(33.19% 0.13 330.5)
XYZxyz(5.8252, 3.1162, 8.6805)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581154 #115815
analogous
#381158 #581154 #581130
triadic
#581154 #545811 #115458
tetradic
#581154 #583811 #115815 #113058
square
#581154 #583811 #115815 #113058
split-complementary
#581154 #305811 #115838
monochromatic
#1A0518 #250723 #581154 #8B1B85 #BF25B6

Accessibility & contrast

On white

12.94
#581154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581154
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581154#FFFFFF#000000##FFFFFF
##5811541.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B56
Deuteranopia (green-blind)
#273552
Tritanopia (blue-blind)
#5C1B31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581154;
/* rgb */ color: rgb(88, 17, 84);
/* oklch */ color: oklch(33.2% 0.130 330.5);
Tailwind
colors: {
  custom: {
    50: '#8a5884',
    500: '#581154',
    950: '#000000',
  },
}
SCSS
$custom: #581154;
$custom-light: #8a5884;
$custom-dark: #000000;
JSON
{
  "hex": "#581154",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 303.38,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.12986,
    "h": 330.5
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#581154
secondary
#349139
accent
#EA473D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581154

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

Preview Lab → · Contrast checker → · Palette generator →

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