#572382#572382

#572382 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.152 H 305.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#572382
RGBrgb(87, 35, 130)
HSLhsl(273, 58%, 32%)
HSVhsv(273, 73%, 51%)
CMYKcmyk(33.1%, 73.1%, 0%, 49%)
CIE-LABlab(26.27, 41.90, -43.75)
CIE-LCHlch(26.27, 60.58, 313.76°)
OKLaboklab(38.3% 0.0879 -0.1243)
OKLCHoklch(38.3% 0.152 305.2)
XYZxyz(8.5599, 4.8401, 21.5980)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572382 #4E8223
analogous
#272382 #572382 #82237E
triadic
#572382 #825723 #238257
tetradic
#572382 #822723 #4E8223 #237E82
square
#572382 #822723 #4E8223 #237E82
split-complementary
#572382 #7E8223 #238227
monochromatic
#160922 #371652 #572382 #7730B2 #9650D0

Accessibility & contrast

On white

10.67
#572382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#572382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572382
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572382#FFFFFF#000000##FFFFFF
##5723821.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#4F3950
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572382;
/* rgb */ color: rgb(87, 35, 130);
/* oklch */ color: oklch(38.3% 0.152 305.2);
Tailwind
colors: {
  custom: {
    50: '#8b63a7',
    500: '#572382',
    950: '#000000',
  },
}
SCSS
$custom: #572382;
$custom-light: #8b63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#572382",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 272.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38303,
    "c": 0.15225,
    "h": 305.2
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#572382
secondary
#7CB34D
accent
#E1478D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #572382

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

Preview Lab → · Contrast checker → · Palette generator →

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