#571790#571790

#571790 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.180 H 301.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#571790
RGBrgb(87, 23, 144)
HSLhsl(272, 72%, 33%)
HSVhsv(272, 84%, 56%)
CMYKcmyk(39.6%, 84%, 0%, 43.5%)
CIE-LABlab(25.72, 50.32, -53.39)
CIE-LCHlch(25.72, 73.37, 313.30°)
OKLaboklab(38.28% 0.0951 -0.1526)
OKLCHoklch(38.28% 0.18 301.9)
XYZxyz(9.2697, 4.6526, 26.7898)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571790 #509017
analogous
#1B1790 #571790 #90178C
triadic
#571790 #905717 #179057
tetradic
#571790 #901B17 #509017 #178C90
square
#571790 #901B17 #509017 #178C90
split-complementary
#571790 #8C9017 #17901B
monochromatic
#170626 #370F5B #571790 #771FC5 #9541E1

Accessibility & contrast

On white

10.88
#571790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#571790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571790
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571790#FFFFFF#000000##FFFFFF
##5717901.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#4A3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571790;
/* rgb */ color: rgb(87, 23, 144);
/* oklch */ color: oklch(38.3% 0.180 301.9);
Tailwind
colors: {
  custom: {
    50: '#8d5eb1',
    500: '#571790',
    950: '#000000',
  },
}
SCSS
$custom: #571790;
$custom-light: #8d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#571790",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 271.736,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38284,
    "c": 0.17978,
    "h": 301.9
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#571790
secondary
#7EC142
accent
#EF398F
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571790

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

Preview Lab → · Contrast checker → · Palette generator →

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