#581476#581476

#581476 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.157 H 312.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#581476
RGBrgb(88, 20, 118)
HSLhsl(282, 71%, 27%)
HSVhsv(282, 83%, 46%)
CMYKcmyk(25.4%, 83.1%, 0%, 53.7%)
CIE-LABlab(23.28, 45.56, -40.99)
CIE-LCHlch(23.28, 61.29, 318.02°)
OKLaboklab(35.92% 0.1064 -0.1161)
OKLCHoklch(35.92% 0.157 312.5)
XYZxyz(7.5441, 3.8832, 17.4882)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581476 #327614
analogous
#271476 #581476 #761463
triadic
#581476 #765814 #147658
tetradic
#581476 #762714 #327614 #146376
square
#581476 #762714 #327614 #146376
split-complementary
#581476 #637614 #147627
monochromatic
#14041A #310B42 #581476 #7F1DAA #A52ADB

Accessibility & contrast

On white

11.82
#581476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581476
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581476#FFFFFF#000000##FFFFFF
##5814761.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#542C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581476;
/* rgb */ color: rgb(88, 20, 118);
/* oklch */ color: oklch(35.9% 0.157 312.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b9e',
    500: '#581476',
    950: '#000000',
  },
}
SCSS
$custom: #581476;
$custom-light: #8b5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581476",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 281.633,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.15742,
    "h": 312.5
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#581476
secondary
#5DAC3A
accent
#EE3A71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581476

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

Preview Lab → · Contrast checker → · Palette generator →

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