#581880#581880

#581880 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.163 H 308.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#581880
RGBrgb(88, 24, 128)
HSLhsl(277, 68%, 30%)
HSVhsv(277, 81%, 50%)
CMYKcmyk(31.3%, 81.3%, 0%, 49.8%)
CIE-LABlab(24.60, 46.36, -45.21)
CIE-LCHlch(24.60, 64.76, 315.72°)
OKLaboklab(37.1% 0.1005 -0.1285)
OKLCHoklch(37.1% 0.163 308)
XYZxyz(8.2466, 4.2866, 20.8109)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581880 #408018
analogous
#241880 #581880 #801874
triadic
#581880 #805818 #188058
tetradic
#581880 #802418 #408018 #187480
square
#581880 #802418 #408018 #187480
split-complementary
#581880 #748018 #188024
monochromatic
#12051A #350E4C #581880 #7B22B4 #9C39DA

Accessibility & contrast

On white

11.31
#581880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#581880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581880
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581880#FFFFFF#000000##FFFFFF
##5818801.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#51334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581880;
/* rgb */ color: rgb(88, 24, 128);
/* oklch */ color: oklch(37.1% 0.163 308.0);
Tailwind
colors: {
  custom: {
    50: '#8c5da6',
    500: '#581880',
    950: '#000000',
  },
}
SCSS
$custom: #581880;
$custom-light: #8c5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#581880",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 276.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.371,
    "c": 0.16316,
    "h": 308
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#581880
secondary
#6CB440
accent
#EB3D80
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #581880

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

Preview Lab → · Contrast checker → · Palette generator →

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