#571B89#571B89

#571B89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.169 H 303.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#571B89
RGBrgb(87, 27, 137)
HSLhsl(273, 67%, 32%)
HSVhsv(273, 80%, 54%)
CMYKcmyk(36.5%, 80.3%, 0%, 46.3%)
CIE-LABlab(25.61, 47.15, -49.21)
CIE-LCHlch(25.61, 68.15, 313.77°)
OKLaboklab(38.02% 0.0941 -0.1403)
OKLCHoklch(38.02% 0.169 303.8)
XYZxyz(8.8367, 4.6163, 24.0875)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B89 #4D891B
analogous
#201B89 #571B89 #891B84
triadic
#571B89 #89571B #1B8957
tetradic
#571B89 #89201B #4D891B #1B8489
square
#571B89 #89201B #4D891B #1B8489
split-complementary
#571B89 #84891B #1B8920
monochromatic
#160723 #371156 #571B89 #7725BC #9644DA

Accessibility & contrast

On white

10.92
#571B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B89
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B89#FFFFFF#000000##FFFFFF
##571B891.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#4D3852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571b89;
/* rgb */ color: rgb(87, 27, 137);
/* oklch */ color: oklch(38.0% 0.169 303.8);
Tailwind
colors: {
  custom: {
    50: '#8c5fac',
    500: '#571b89',
    950: '#000000',
  },
}
SCSS
$custom: #571b89;
$custom-light: #8c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#571b89",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 272.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.16895,
    "h": 303.8
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#571B89
secondary
#7ABC44
accent
#EA3E8C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571B89

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

Preview Lab → · Contrast checker → · Palette generator →

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