#572DA2#572DA2

#572DA2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.176 H 293.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#572DA2
RGBrgb(87, 45, 162)
HSLhsl(262, 57%, 41%)
HSVhsv(262, 72%, 64%)
CMYKcmyk(46.3%, 72.2%, 0%, 36.5%)
CIE-LABlab(30.67, 45.35, -56.32)
CIE-LCHlch(30.67, 72.31, 308.84°)
OKLaboklab(42.24% 0.0715 -0.1613)
OKLCHoklch(42.24% 0.176 293.9)
XYZxyz(11.3887, 6.5113, 34.8322)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DA2 #78A22D
analogous
#2D3EA2 #572DA2 #912DA2
triadic
#572DA2 #A2572D #2DA257
tetradic
#572DA2 #A22D3E #78A22D #2DA291
square
#572DA2 #A22D3E #78A22D #2DA291
split-complementary
#572DA2 #A2912D #3EA22D
monochromatic
#241242 #3D2072 #572DA2 #7342CA #9672D8

Accessibility & contrast

On white

9.12
#572DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#572DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DA2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DA2#FFFFFF#000000##FFFFFF
##572DA21.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#414B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572da2;
/* rgb */ color: rgb(87, 45, 162);
/* oklch */ color: oklch(42.2% 0.176 293.9);
Tailwind
colors: {
  custom: {
    50: '#8d6abe',
    500: '#572da2',
    950: '#000000',
  },
}
SCSS
$custom: #572da2;
$custom-light: #8d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#572da2",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 261.538,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.17645,
    "h": 293.9
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#572DA2
secondary
#A1BF6C
accent
#E048A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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