#571A7F#571A7F

#571A7F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.160 H 307.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#571A7F
RGBrgb(87, 26, 127)
HSLhsl(276, 66%, 30%)
HSVhsv(276, 80%, 50%)
CMYKcmyk(31.5%, 79.5%, 0%, 50.2%)
CIE-LABlab(24.63, 45.17, -44.53)
CIE-LCHlch(24.63, 63.43, 315.41°)
OKLaboklab(37.07% 0.0975 -0.1266)
OKLCHoklch(37.07% 0.16 307.6)
XYZxyz(8.1298, 4.2974, 20.4758)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A7F #427F1A
analogous
#251A7F #571A7F #7F1A74
triadic
#571A7F #7F571A #1A7F57
tetradic
#571A7F #7F251A #427F1A #1A747F
square
#571A7F #7F251A #427F1A #1A747F
split-complementary
#571A7F #747F1A #1A7F25
monochromatic
#110519 #34104C #571A7F #7A24B2 #9A3CD7

Accessibility & contrast

On white

11.29
#571A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A7F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A7F#FFFFFF#000000##FFFFFF
##571A7F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#50334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571a7f;
/* rgb */ color: rgb(87, 26, 127);
/* oklch */ color: oklch(37.1% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ea5',
    500: '#571a7f',
    950: '#000000',
  },
}
SCSS
$custom: #571a7f;
$custom-light: #8b5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#571a7f",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 276.238,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.15978,
    "h": 307.6
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#571A7F
secondary
#6FB342
accent
#E93F82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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