#572AC2#572AC2

#572AC2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.216 H 287.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#572AC2
RGBrgb(87, 42, 194)
HSLhsl(258, 64%, 46%)
HSVhsv(258, 78%, 76%)
CMYKcmyk(55.2%, 78.4%, 0%, 23.9%)
CIE-LABlab(33.08, 55.55, -71.43)
CIE-LCHlch(33.08, 90.49, 307.87°)
OKLaboklab(44.83% 0.0655 -0.2056)
OKLCHoklch(44.83% 0.216 287.7)
XYZxyz(14.4932, 7.5764, 51.7272)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AC2 #95C22A
analogous
#2A49C2 #572AC2 #A32AC2
triadic
#572AC2 #C2572A #2AC257
tetradic
#572AC2 #C22A49 #95C22A #2AC2A3
square
#572AC2 #C22A49 #95C22A #2AC2A3
split-complementary
#572AC2 #C2A32A #49C22A
monochromatic
#2A145D #401F90 #572AC2 #7950D9 #9F82E4

Accessibility & contrast

On white

8.35
#572AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#572AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572AC2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AC2#FFFFFF#000000##FFFFFF
##572AC21.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#285676
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572ac2;
/* rgb */ color: rgb(87, 42, 194);
/* oklch */ color: oklch(44.8% 0.216 287.7);
Tailwind
colors: {
  custom: {
    50: '#926ad6',
    500: '#572ac2',
    950: '#000000',
  },
}
SCSS
$custom: #572ac2;
$custom-light: #926ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#572ac2",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 257.763,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.21576,
    "h": 287.7
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#572AC2
secondary
#B5CD7B
accent
#E740B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #572AC2

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

Preview Lab → · Contrast checker → · Palette generator →

#572AC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva