#571481#571481

#571481 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.168 H 307.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#571481
RGBrgb(87, 20, 129)
HSLhsl(277, 73%, 29%)
HSVhsv(277, 84%, 51%)
CMYKcmyk(32.6%, 84.5%, 0%, 49.4%)
CIE-LABlab(24.04, 47.84, -46.76)
CIE-LCHlch(24.04, 66.90, 315.65°)
OKLaboklab(36.7% 0.102 -0.1331)
OKLCHoklch(36.7% 0.168 307.5)
XYZxyz(8.1422, 4.1116, 21.1293)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571481 #3E8114
analogous
#211481 #571481 #811475
triadic
#571481 #815714 #148157
tetradic
#571481 #812114 #3E8114 #147581
square
#571481 #812114 #3E8114 #147581
split-complementary
#571481 #758114 #148121
monochromatic
#12041A #330C4C #571481 #7B1CB6 #9C30DF

Accessibility & contrast

On white

11.52
#571481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571481
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571481#FFFFFF#000000##FFFFFF
##5714811.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571481;
/* rgb */ color: rgb(87, 20, 129);
/* oklch */ color: oklch(36.7% 0.168 307.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ca6',
    500: '#571481',
    950: '#000000',
  },
}
SCSS
$custom: #571481;
$custom-light: #8b5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#571481",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 276.881,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36704,
    "c": 0.16767,
    "h": 307.5
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#571481
secondary
#6AB63B
accent
#F0387F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #571481

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

Preview Lab → · Contrast checker → · Palette generator →

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