#571482#571482

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

Color values

HEX#571482
RGBrgb(87, 20, 130)
HSLhsl(277, 73%, 29%)
HSVhsv(277, 85%, 51%)
CMYKcmyk(33.1%, 84.6%, 0%, 49%)
CIE-LABlab(24.12, 48.07, -47.25)
CIE-LCHlch(24.12, 67.40, 315.49°)
OKLaboklab(36.79% 0.1017 -0.1345)
OKLCHoklch(36.79% 0.169 307.1)
XYZxyz(8.2090, 4.1384, 21.4811)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571482 #3F8214
analogous
#201482 #571482 #821476
triadic
#571482 #825714 #148257
tetradic
#571482 #822014 #3F8214 #147682
square
#571482 #822014 #3F8214 #147682
split-complementary
#571482 #768214 #148220
monochromatic
#12041B #340C4D #571482 #7A1CB7 #9B31DF

Accessibility & contrast

On white

11.49
#571482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571482
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571482#FFFFFF#000000##FFFFFF
##5714821.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571482;
/* rgb */ color: rgb(87, 20, 130);
/* oklch */ color: oklch(36.8% 0.169 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ca7',
    500: '#571482',
    950: '#000000',
  },
}
SCSS
$custom: #571482;
$custom-light: #8b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#571482",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 276.545,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.16864,
    "h": 307.1
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#571482
secondary
#6BB73B
accent
#F03880
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0410
muted
#7D797F

Preview Lab

Preview with #571482

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

Preview Lab → · Contrast checker → · Palette generator →

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