#571D94#571D94

#571D94 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.178 H 300.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#571D94
RGBrgb(87, 29, 148)
HSLhsl(269, 67%, 35%)
HSVhsv(269, 80%, 58%)
CMYKcmyk(41.2%, 80.4%, 0%, 42%)
CIE-LABlab(26.86, 49.04, -54.00)
CIE-LCHlch(26.86, 72.95, 312.24°)
OKLaboklab(39.18% 0.0893 -0.1544)
OKLCHoklch(39.18% 0.178 300)
XYZxyz(9.7138, 5.0430, 28.4729)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D94 #5A941D
analogous
#1D1E94 #571D94 #931D94
triadic
#571D94 #94571D #1D9457
tetradic
#571D94 #941D1E #5A941D #1D9493
square
#571D94 #941D1E #5A941D #1D9493
split-complementary
#571D94 #94931D #1E941D
monochromatic
#1B092E #391361 #571D94 #7527C7 #944FDC

Accessibility & contrast

On white

10.46
#571D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#571D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D94
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D94#FFFFFF#000000##FFFFFF
##571D941.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#493E59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571d94;
/* rgb */ color: rgb(87, 29, 148);
/* oklch */ color: oklch(39.2% 0.178 300.0);
Tailwind
colors: {
  custom: {
    50: '#8d61b4',
    500: '#571d94',
    950: '#000000',
  },
}
SCSS
$custom: #571d94;
$custom-light: #8d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#571d94",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 269.244,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.17836,
    "h": 300
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#571D94
secondary
#88BF4E
accent
#EA3E96
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571D94

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

Preview Lab → · Contrast checker → · Palette generator →

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