#571280#571280

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

Color values

HEX#571280
RGBrgb(87, 18, 128)
HSLhsl(278, 75%, 29%)
HSVhsv(278, 86%, 50%)
CMYKcmyk(32%, 85.9%, 0%, 49.8%)
CIE-LABlab(23.73, 48.26, -46.63)
CIE-LCHlch(23.73, 67.11, 315.98°)
OKLaboklab(36.46% 0.1038 -0.1327)
OKLCHoklch(36.46% 0.168 308)
XYZxyz(8.0422, 4.0175, 20.7697)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571280 #3B8012
analogous
#201280 #571280 #801272
triadic
#571280 #805712 #128057
tetradic
#571280 #802012 #3B8012 #127280
square
#571280 #802012 #3B8012 #127280
split-complementary
#571280 #728012 #128020
monochromatic
#12041B #330A4A #571280 #7B1AB6 #9D2BE1

Accessibility & contrast

On white

11.64
#571280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571280
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571280#FFFFFF#000000##FFFFFF
##5712801.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#50304B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571280;
/* rgb */ color: rgb(87, 18, 128);
/* oklch */ color: oklch(36.5% 0.168 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#571280',
    950: '#000000',
  },
}
SCSS
$custom: #571280;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#571280",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 277.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.16844,
    "h": 308
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#571280
secondary
#67B638
accent
#F2367C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #571280

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

Preview Lab → · Contrast checker → · Palette generator →

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