#571A8E#571A8E

#571A8E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.175 H 302.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#571A8E
RGBrgb(87, 26, 142)
HSLhsl(272, 69%, 33%)
HSVhsv(272, 82%, 56%)
CMYKcmyk(38.7%, 81.7%, 0%, 44.3%)
CIE-LABlab(25.92, 48.74, -51.83)
CIE-LCHlch(25.92, 71.15, 313.24°)
OKLaboklab(38.36% 0.0935 -0.148)
OKLCHoklch(38.36% 0.175 302.3)
XYZxyz(9.1812, 4.7180, 26.0129)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A8E #518E1A
analogous
#1D1A8E #571A8E #8E1A8B
triadic
#571A8E #8E571A #1A8E57
tetradic
#571A8E #8E1D1A #518E1A #1A8B8E
square
#571A8E #8E1D1A #518E1A #1A8B8E
split-complementary
#571A8E #8B8E1A #1A8E1D
monochromatic
#180727 #37115A #571A8E #7723C2 #9545DD

Accessibility & contrast

On white

10.80
#571A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#571A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A8E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A8E#FFFFFF#000000##FFFFFF
##571A8E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4B3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571a8e;
/* rgb */ color: rgb(87, 26, 142);
/* oklch */ color: oklch(38.4% 0.175 302.3);
Tailwind
colors: {
  custom: {
    50: '#8c5fb0',
    500: '#571a8e',
    950: '#000000',
  },
}
SCSS
$custom: #571a8e;
$custom-light: #8c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#571a8e",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 271.552,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.17505,
    "h": 302.3
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#571A8E
secondary
#7FBE45
accent
#EC3C8F
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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