#571A7C#571A7C

#571A7C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.157 H 308.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#571A7C
RGBrgb(87, 26, 124)
HSLhsl(277, 65%, 29%)
HSVhsv(277, 79%, 49%)
CMYKcmyk(29.8%, 79%, 0%, 51.4%)
CIE-LABlab(24.39, 44.47, -43.03)
CIE-LCHlch(24.39, 61.87, 315.94°)
OKLaboklab(36.82% 0.0982 -0.1221)
OKLCHoklch(36.82% 0.157 308.8)
XYZxyz(7.9372, 4.2204, 19.4614)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A7C #3F7C1A
analogous
#261A7C #571A7C #7C1A70
triadic
#571A7C #7C571A #1A7C57
tetradic
#571A7C #7C261A #3F7C1A #1A707C
square
#571A7C #7C261A #3F7C1A #1A707C
split-complementary
#571A7C #707C1A #1A7C26
monochromatic
#120519 #340F49 #571A7C #7A25AF #9B3BD6

Accessibility & contrast

On white

11.39
#571A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A7C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A7C#FFFFFF#000000##FFFFFF
##571A7C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#51324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571a7c;
/* rgb */ color: rgb(87, 26, 124);
/* oklch */ color: oklch(36.8% 0.157 308.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ea3',
    500: '#571a7c',
    950: '#000000',
  },
}
SCSS
$custom: #571a7c;
$custom-light: #8b5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#571a7c",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 277.347,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36818,
    "c": 0.15673,
    "h": 308.8
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#571A7C
secondary
#6BB042
accent
#E8407F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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