#581481#581481

#581481 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.168 H 308.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#581481
RGBrgb(88, 20, 129)
HSLhsl(277, 73%, 29%)
HSVhsv(277, 84%, 51%)
CMYKcmyk(31.8%, 84.5%, 0%, 49.4%)
CIE-LABlab(24.19, 48.01, -46.50)
CIE-LCHlch(24.19, 66.84, 315.92°)
OKLaboklab(36.85% 0.1035 -0.1323)
OKLCHoklch(36.85% 0.168 308)
XYZxyz(8.2363, 4.1601, 21.1337)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581481 #3D8114
analogous
#221481 #581481 #811474
triadic
#581481 #815814 #148158
tetradic
#581481 #812214 #3D8114 #147481
square
#581481 #812214 #3D8114 #147481
split-complementary
#581481 #748114 #148122
monochromatic
#12041A #340C4C #581481 #7C1CB6 #9D30DF

Accessibility & contrast

On white

11.46
#581481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581481
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581481#FFFFFF#000000##FFFFFF
##5814811.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#51314C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581481;
/* rgb */ color: rgb(88, 20, 129);
/* oklch */ color: oklch(36.8% 0.168 308.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ca6',
    500: '#581481',
    950: '#000000',
  },
}
SCSS
$custom: #581481;
$custom-light: #8c5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#581481",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 277.431,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36845,
    "c": 0.16793,
    "h": 308
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#581481
secondary
#69B63B
accent
#F0387D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #581481

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

Preview Lab → · Contrast checker → · Palette generator →

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