#571A8A#571A8A

#571A8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.171 H 303.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#571A8A
RGBrgb(87, 26, 138)
HSLhsl(273, 68%, 32%)
HSVhsv(273, 81%, 54%)
CMYKcmyk(37%, 81.2%, 0%, 45.9%)
CIE-LABlab(25.56, 47.78, -49.92)
CIE-LCHlch(25.56, 69.10, 313.75°)
OKLaboklab(38.01% 0.0946 -0.1424)
OKLCHoklch(38.01% 0.171 303.6)
XYZxyz(8.8862, 4.6000, 24.4596)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A8A #4D8A1A
analogous
#1F1A8A #571A8A #8A1A85
triadic
#571A8A #8A571A #1A8A57
tetradic
#571A8A #8A1F1A #4D8A1A #1A858A
square
#571A8A #8A1F1A #4D8A1A #1A858A
split-complementary
#571A8A #858A1A #1A8A1F
monochromatic
#160723 #371057 #571A8A #7724BD #9643DC

Accessibility & contrast

On white

10.94
#571A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A8A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A8A#FFFFFF#000000##FFFFFF
##571A8A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#4D3852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571a8a;
/* rgb */ color: rgb(87, 26, 138);
/* oklch */ color: oklch(38.0% 0.171 303.6);
Tailwind
colors: {
  custom: {
    50: '#8c5fad',
    500: '#571a8a',
    950: '#000000',
  },
}
SCSS
$custom: #571a8a;
$custom-light: #8c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#571a8a",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 272.679,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.17097,
    "h": 303.6
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#571A8A
secondary
#7ABD43
accent
#EB3D8C
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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