#572280#572280

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

Color values

HEX#572280
RGBrgb(87, 34, 128)
HSLhsl(274, 58%, 32%)
HSVhsv(274, 73%, 50%)
CMYKcmyk(32%, 73.4%, 0%, 49.8%)
CIE-LABlab(25.95, 41.89, -43.02)
CIE-LCHlch(25.95, 60.05, 314.23°)
OKLaboklab(38.02% 0.0893 -0.1222)
OKLCHoklch(38.02% 0.151 306.2)
XYZxyz(8.3979, 4.7289, 20.8882)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572280 #4B8022
analogous
#282280 #572280 #80227A
triadic
#572280 #805722 #228057
tetradic
#572280 #802822 #4B8022 #227A80
square
#572280 #802822 #4B8022 #227A80
split-complementary
#572280 #7A8022 #228028
monochromatic
#15081F #361550 #572280 #782FB0 #974DD0

Accessibility & contrast

On white

10.79
#572280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#572280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572280
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572280#FFFFFF#000000##FFFFFF
##5722801.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#50384E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #572280;
/* rgb */ color: rgb(87, 34, 128);
/* oklch */ color: oklch(38.0% 0.151 306.2);
Tailwind
colors: {
  custom: {
    50: '#8a62a5',
    500: '#572280',
    950: '#000000',
  },
}
SCSS
$custom: #572280;
$custom-light: #8a62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#572280",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 273.83,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.15133,
    "h": 306.2
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#572280
secondary
#78B24B
accent
#E1478A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #572280

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

Preview Lab → · Contrast checker → · Palette generator →

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