#572AA2#572AA2

#572AA2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.180 H 294.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#572AA2
RGBrgb(87, 42, 162)
HSLhsl(263, 59%, 40%)
HSVhsv(263, 74%, 64%)
CMYKcmyk(46.3%, 74.1%, 0%, 36.5%)
CIE-LABlab(30.13, 46.85, -57.20)
CIE-LCHlch(30.13, 73.93, 309.32°)
OKLaboklab(41.86% 0.0743 -0.1639)
OKLCHoklch(41.86% 0.18 294.4)
XYZxyz(11.2783, 6.2905, 34.7954)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AA2 #75A22A
analogous
#2A39A2 #572AA2 #932AA2
triadic
#572AA2 #A2572A #2AA257
tetradic
#572AA2 #A22A39 #75A22A #2AA293
square
#572AA2 #A22A39 #75A22A #2AA293
split-complementary
#572AA2 #A2932A #39A22A
monochromatic
#231141 #3D1D71 #572AA2 #733DCD #966DD9

Accessibility & contrast

On white

9.30
#572AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#572AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572AA2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AA2#FFFFFF#000000##FFFFFF
##572AA21.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#414964
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572aa2;
/* rgb */ color: rgb(87, 42, 162);
/* oklch */ color: oklch(41.9% 0.180 294.4);
Tailwind
colors: {
  custom: {
    50: '#8e68be',
    500: '#572aa2',
    950: '#000000',
  },
}
SCSS
$custom: #572aa2;
$custom-light: #8e68be;
$custom-dark: #000000;
JSON
{
  "hex": "#572aa2",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 262.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.17992,
    "h": 294.4
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#572AA2
secondary
#9FC068
accent
#E246A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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