#571881#571881

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

Color values

HEX#571881
RGBrgb(87, 24, 129)
HSLhsl(276, 69%, 30%)
HSVhsv(276, 81%, 51%)
CMYKcmyk(32.6%, 81.4%, 0%, 49.4%)
CIE-LABlab(24.53, 46.41, -45.96)
CIE-LCHlch(24.53, 65.32, 315.28°)
OKLaboklab(37.05% 0.0988 -0.1307)
OKLCHoklch(37.05% 0.164 307.1)
XYZxyz(8.2187, 4.2646, 21.1548)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571881 #428118
analogous
#231881 #571881 #811876
triadic
#571881 #815718 #188157
tetradic
#571881 #812318 #428118 #187681
square
#571881 #812318 #428118 #187681
split-complementary
#571881 #768118 #188123
monochromatic
#11051A #340E4D #571881 #7A22B5 #9A39DA

Accessibility & contrast

On white

11.33
#571881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##571881#FFFFFF#000000##FFFFFF
##5718811.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)
#003884
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#50334D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571881;
/* rgb */ color: rgb(87, 24, 129);
/* oklch */ color: oklch(37.0% 0.164 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b5da6',
    500: '#571881',
    950: '#000000',
  },
}
SCSS
$custom: #571881;
$custom-light: #8b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#571881",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 276,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.37046,
    "c": 0.16388,
    "h": 307.1
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#571881
secondary
#6FB540
accent
#EB3C82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571881

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

Preview Lab → · Contrast checker → · Palette generator →

#571881 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva