#572181#572181

#572181 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.154 H 305.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#572181
RGBrgb(87, 33, 129)
HSLhsl(274, 59%, 32%)
HSVhsv(274, 74%, 51%)
CMYKcmyk(32.6%, 74.4%, 0%, 49.4%)
CIE-LABlab(25.86, 42.60, -43.80)
CIE-LCHlch(25.86, 61.10, 314.21°)
OKLaboklab(37.98% 0.0902 -0.1245)
OKLCHoklch(37.98% 0.154 305.9)
XYZxyz(8.4359, 4.6990, 21.2272)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572181 #4B8121
analogous
#272181 #572181 #81217B
triadic
#572181 #815721 #218157
tetradic
#572181 #812721 #4B8121 #217B81
square
#572181 #812721 #4B8121 #217B81
split-complementary
#572181 #7B8121 #218127
monochromatic
#150820 #361550 #572181 #782DB2 #974BD1

Accessibility & contrast

On white

10.83
#572181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#572181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572181
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572181#FFFFFF#000000##FFFFFF
##5721811.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#50384F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #572181;
/* rgb */ color: rgb(87, 33, 129);
/* oklch */ color: oklch(38.0% 0.154 305.9);
Tailwind
colors: {
  custom: {
    50: '#8b62a6',
    500: '#572181',
    950: '#000000',
  },
}
SCSS
$custom: #572181;
$custom-light: #8b62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#572181",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 273.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.1537,
    "h": 305.9
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#572181
secondary
#78B44A
accent
#E2458A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #572181

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

Preview Lab → · Contrast checker → · Palette generator →

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