#581480#581480

#581480 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.167 H 308.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#581480
RGBrgb(88, 20, 128)
HSLhsl(278, 73%, 29%)
HSVhsv(278, 84%, 50%)
CMYKcmyk(31.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(24.11, 47.78, -46.01)
CIE-LCHlch(24.11, 66.33, 316.09°)
OKLaboklab(36.76% 0.1038 -0.1308)
OKLCHoklch(36.76% 0.167 308.4)
XYZxyz(8.1701, 4.1337, 20.7854)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581480 #3C8014
analogous
#221480 #581480 #801472
triadic
#581480 #805814 #148058
tetradic
#581480 #802214 #3C8014 #147280
square
#581480 #802214 #3C8014 #147280
split-complementary
#581480 #728014 #148022
monochromatic
#12041A #340C4B #581480 #7C1CB5 #9E30DF

Accessibility & contrast

On white

11.50
#581480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581480
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581480#FFFFFF#000000##FFFFFF
##5814801.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#52314B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581480;
/* rgb */ color: rgb(88, 20, 128);
/* oklch */ color: oklch(36.8% 0.167 308.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ca6',
    500: '#581480',
    950: '#000000',
  },
}
SCSS
$custom: #581480;
$custom-light: #8c5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#581480",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 277.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.16698,
    "h": 308.4
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#581480
secondary
#68B53B
accent
#F0387C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #581480

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

Preview Lab → · Contrast checker → · Palette generator →

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