#571C90#571C90

#571C90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.175 H 301.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#571C90
RGBrgb(87, 28, 144)
HSLhsl(271, 67%, 34%)
HSVhsv(271, 81%, 56%)
CMYKcmyk(39.6%, 80.6%, 0%, 43.5%)
CIE-LABlab(26.36, 48.45, -52.34)
CIE-LCHlch(26.36, 71.33, 312.79°)
OKLaboklab(38.73% 0.0913 -0.1495)
OKLCHoklch(38.73% 0.175 301.4)
XYZxyz(9.3785, 4.8703, 26.8261)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C90 #55901C
analogous
#1D1C90 #571C90 #901C8F
triadic
#571C90 #90571C #1C9057
tetradic
#571C90 #901D1C #55901C #1C8F90
square
#571C90 #901D1C #55901C #1C8F90
split-complementary
#571C90 #8F901C #1C901D
monochromatic
#19082A #38125D #571C90 #7626C3 #944ADC

Accessibility & contrast

On white

10.64
#571C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#571C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C90
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C90#FFFFFF#000000##FFFFFF
##571C901.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#4A3C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571c90;
/* rgb */ color: rgb(87, 28, 144);
/* oklch */ color: oklch(38.7% 0.175 301.4);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#571c90',
    950: '#000000',
  },
}
SCSS
$custom: #571c90;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571c90",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 270.517,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.17518,
    "h": 301.4
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#571C90
secondary
#83BE4A
accent
#EA3D92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C90

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

Preview Lab → · Contrast checker → · Palette generator →

#571C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva