#571B93#571B93

#571B93 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.179 H 300.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#571B93
RGBrgb(87, 27, 147)
HSLhsl(270, 69%, 34%)
HSVhsv(270, 82%, 58%)
CMYKcmyk(40.8%, 81.6%, 0%, 42.4%)
CIE-LABlab(26.50, 49.58, -53.98)
CIE-LCHlch(26.50, 73.29, 312.57°)
OKLaboklab(38.91% 0.0912 -0.1543)
OKLCHoklch(38.91% 0.179 300.6)
XYZxyz(9.5876, 4.9166, 28.0420)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B93 #57931B
analogous
#1B1B93 #571B93 #931B93
triadic
#571B93 #93571B #1B9357
tetradic
#571B93 #931B1B #57931B #1B9393
square
#571B93 #931B1B #57931B #1B9393
split-complementary
#571B93 #93931B #1B931B
monochromatic
#1A082C #38125F #571B93 #7624C7 #944BDE

Accessibility & contrast

On white

10.59
#571B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#571B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B93
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B93#FFFFFF#000000##FFFFFF
##571B931.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#493C58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571b93;
/* rgb */ color: rgb(87, 27, 147);
/* oklch */ color: oklch(38.9% 0.179 300.6);
Tailwind
colors: {
  custom: {
    50: '#8d60b4',
    500: '#571b93',
    950: '#000000',
  },
}
SCSS
$custom: #571b93;
$custom-light: #8d60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#571b93",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 270,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.17923,
    "h": 300.6
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#571B93
secondary
#85C04A
accent
#EC3C94
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571B93

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

Preview Lab → · Contrast checker → · Palette generator →

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