#571290#571290

#571290 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.184 H 302.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#571290
RGBrgb(87, 18, 144)
HSLhsl(273, 78%, 32%)
HSVhsv(273, 88%, 56%)
CMYKcmyk(39.6%, 87.5%, 0%, 43.5%)
CIE-LABlab(25.18, 51.92, -54.28)
CIE-LCHlch(25.18, 75.12, 313.73°)
OKLaboklab(37.91% 0.0984 -0.1551)
OKLCHoklch(37.91% 0.184 302.4)
XYZxyz(9.1796, 4.4724, 26.7598)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571290 #4B9012
analogous
#181290 #571290 #90128A
triadic
#571290 #905712 #129057
tetradic
#571290 #901812 #4B9012 #128A90
square
#571290 #901812 #4B9012 #128A90
split-complementary
#571290 #8A9012 #129018
monochromatic
#150423 #360B5A #571290 #7819C6 #9736E6

Accessibility & contrast

On white

11.09
#571290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571290
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571290#FFFFFF#000000##FFFFFF
##5712901.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#4A3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571290;
/* rgb */ color: rgb(87, 18, 144);
/* oklch */ color: oklch(37.9% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#8d5cb2',
    500: '#571290',
    950: '#000000',
  },
}
SCSS
$custom: #571290;
$custom-light: #8d5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#571290",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 272.857,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37907,
    "c": 0.18371,
    "h": 302.4
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#571290
secondary
#78C43A
accent
#F4348B
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571290

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

Preview Lab → · Contrast checker → · Palette generator →

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