#572AA6#572AA6

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

Color values

HEX#572AA6
RGBrgb(87, 42, 166)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(47.6%, 74.7%, 0%, 34.9%)
CIE-LABlab(30.48, 47.93, -59.04)
CIE-LCHlch(30.48, 76.05, 309.07°)
OKLaboklab(42.22% 0.0733 -0.1693)
OKLCHoklch(42.22% 0.184 293.4)
XYZxyz(11.6395, 6.4350, 36.6978)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AA6 #79A62A
analogous
#2A3BA6 #572AA6 #952AA6
triadic
#572AA6 #A6572A #2AA657
tetradic
#572AA6 #A62A3B #79A62A #2AA695
square
#572AA6 #A62A3B #79A62A #2AA695
split-complementary
#572AA6 #A6952A #3BA62A
monochromatic
#241144 #3D1E75 #572AA6 #733FCE #9770DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572AA6#FFFFFF#000000##FFFFFF
##572AA61.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)
#0049AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#3F4B66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572aa6;
/* rgb */ color: rgb(87, 42, 166);
/* oklch */ color: oklch(42.2% 0.184 293.4);
Tailwind
colors: {
  custom: {
    50: '#8e68c1',
    500: '#572aa6',
    950: '#000000',
  },
}
SCSS
$custom: #572aa6;
$custom-light: #8e68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#572aa6",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 261.774,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.18448,
    "h": 293.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#572AA6
secondary
#A2C26A
accent
#E345AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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