#572CA2#572CA2

#572CA2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.178 H 294.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#572CA2
RGBrgb(87, 44, 162)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 73%, 64%)
CMYKcmyk(46.3%, 72.8%, 0%, 36.5%)
CIE-LABlab(30.49, 45.85, -56.62)
CIE-LCHlch(30.49, 72.86, 309.00°)
OKLaboklab(42.11% 0.0724 -0.1622)
OKLCHoklch(42.11% 0.178 294.1)
XYZxyz(11.3510, 6.4359, 34.8196)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CA2 #77A22C
analogous
#2C3CA2 #572CA2 #922CA2
triadic
#572CA2 #A2572C #2CA257
tetradic
#572CA2 #A22C3C #77A22C #2CA292
square
#572CA2 #A22C3C #77A22C #2CA292
split-complementary
#572CA2 #A2922C #3CA22C
monochromatic
#231242 #3D1F72 #572CA2 #7340CB #9670D8

Accessibility & contrast

On white

9.18
#572CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#572CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CA2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CA2#FFFFFF#000000##FFFFFF
##572CA21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572ca2;
/* rgb */ color: rgb(87, 44, 162);
/* oklch */ color: oklch(42.1% 0.178 294.1);
Tailwind
colors: {
  custom: {
    50: '#8d69be',
    500: '#572ca2',
    950: '#000000',
  },
}
SCSS
$custom: #572ca2;
$custom-light: #8d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#572ca2",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 261.864,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.17762,
    "h": 294.1
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#572CA2
secondary
#A0BF6A
accent
#E147A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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