#572282#572282

#572282 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.154 H 305.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#572282
RGBrgb(87, 34, 130)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 51%)
CMYKcmyk(33.1%, 73.8%, 0%, 49%)
CIE-LABlab(26.10, 42.38, -44.03)
CIE-LCHlch(26.10, 61.11, 313.91°)
OKLaboklab(38.18% 0.0889 -0.1251)
OKLCHoklch(38.18% 0.154 305.4)
XYZxyz(8.5309, 4.7821, 21.5884)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572282 #4D8222
analogous
#272282 #572282 #82227D
triadic
#572282 #825722 #228257
tetradic
#572282 #822722 #4D8222 #227D82
square
#572282 #822722 #4D8222 #227D82
split-complementary
#572282 #7D8222 #228227
monochromatic
#160921 #371551 #572282 #772FB3 #964ED1

Accessibility & contrast

On white

10.73
#572282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#572282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572282
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572282#FFFFFF#000000##FFFFFF
##5722821.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572282;
/* rgb */ color: rgb(87, 34, 130);
/* oklch */ color: oklch(38.2% 0.154 305.4);
Tailwind
colors: {
  custom: {
    50: '#8b62a7',
    500: '#572282',
    950: '#000000',
  },
}
SCSS
$custom: #572282;
$custom-light: #8b62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#572282",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 273.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38183,
    "c": 0.15353,
    "h": 305.4
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#572282
secondary
#7AB44C
accent
#E2468C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #572282

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

Preview Lab → · Contrast checker → · Palette generator →

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