#581076#581076

#581076 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.161 H 312.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#581076
RGBrgb(88, 16, 118)
HSLhsl(282, 76%, 26%)
HSVhsv(282, 86%, 46%)
CMYKcmyk(25.4%, 86.4%, 0%, 53.7%)
CIE-LABlab(22.84, 46.85, -41.71)
CIE-LCHlch(22.84, 62.72, 318.32°)
OKLaboklab(35.61% 0.1095 -0.1181)
OKLCHoklch(35.61% 0.161 312.8)
XYZxyz(7.4792, 3.7535, 17.4665)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581076 #2E7610
analogous
#251076 #581076 #761061
triadic
#581076 #765810 #107658
tetradic
#581076 #762510 #2E7610 #106176
square
#581076 #762510 #2E7610 #106176
split-complementary
#581076 #617610 #107625
monochromatic
#14041B #300940 #581076 #8017AC #A820E1

Accessibility & contrast

On white

12.00
#581076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581076
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581076#FFFFFF#000000##FFFFFF
##5810761.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581076;
/* rgb */ color: rgb(88, 16, 118);
/* oklch */ color: oklch(35.6% 0.161 312.8);
Tailwind
colors: {
  custom: {
    50: '#8b5a9e',
    500: '#581076',
    950: '#000000',
  },
}
SCSS
$custom: #581076;
$custom-light: #8b5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581076",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 282.353,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.16107,
    "h": 312.8
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#581076
secondary
#58AD35
accent
#F3356D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581076

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

Preview Lab → · Contrast checker → · Palette generator →

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