#571A7E#571A7E

#571A7E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.159 H 308.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#571A7E
RGBrgb(87, 26, 126)
HSLhsl(277, 66%, 30%)
HSVhsv(277, 79%, 49%)
CMYKcmyk(31%, 79.4%, 0%, 50.6%)
CIE-LABlab(24.55, 44.93, -44.03)
CIE-LCHlch(24.55, 62.91, 315.58°)
OKLaboklab(36.98% 0.0978 -0.1251)
OKLCHoklch(36.98% 0.159 308)
XYZxyz(8.0650, 4.2715, 20.1342)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A7E #417E1A
analogous
#251A7E #571A7E #7E1A73
triadic
#571A7E #7E571A #1A7E57
tetradic
#571A7E #7E251A #417E1A #1A737E
square
#571A7E #7E251A #417E1A #1A737E
split-complementary
#571A7E #737E1A #1A7E25
monochromatic
#120519 #34104B #571A7E #7A24B1 #9A3CD7

Accessibility & contrast

On white

11.33
#571A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A7E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A7E#FFFFFF#000000##FFFFFF
##571A7E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#51334B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571a7e;
/* rgb */ color: rgb(87, 26, 126);
/* oklch */ color: oklch(37.0% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ea4',
    500: '#571a7e',
    950: '#000000',
  },
}
SCSS
$custom: #571a7e;
$custom-light: #8b5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#571a7e",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 276.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.15876,
    "h": 308
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#571A7E
secondary
#6EB242
accent
#E93F81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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