#572EA6#572EA6

#572EA6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.180 H 292.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#572EA6
RGBrgb(87, 46, 166)
HSLhsl(261, 57%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(47.6%, 72.3%, 0%, 34.9%)
CIE-LABlab(31.19, 45.94, -57.88)
CIE-LCHlch(31.19, 73.90, 308.44°)
OKLaboklab(42.72% 0.0697 -0.1659)
OKLCHoklch(42.72% 0.18 292.8)
XYZxyz(11.7885, 6.7330, 36.7475)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EA6 #7DA62E
analogous
#2E41A6 #572EA6 #932EA6
triadic
#572EA6 #A6572E #2EA657
tetradic
#572EA6 #A62E41 #7DA62E #2EA693
square
#572EA6 #A62E41 #7DA62E #2EA693
split-complementary
#572EA6 #A6932E #41A62E
monochromatic
#251346 #3E2176 #572EA6 #7346CC #9776D9

Accessibility & contrast

On white

8.95
#572EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#572EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EA6
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EA6#FFFFFF#000000##FFFFFF
##572EA61.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#3F4D67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572ea6;
/* rgb */ color: rgb(87, 46, 166);
/* oklch */ color: oklch(42.7% 0.180 292.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ac1',
    500: '#572ea6',
    950: '#000000',
  },
}
SCSS
$custom: #572ea6;
$custom-light: #8e6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#572ea6",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 260.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.17995,
    "h": 292.8
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#572EA6
secondary
#A5C16F
accent
#E048AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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