#572FA6#572FA6

#572FA6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.179 H 292.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#572FA6
RGBrgb(87, 47, 166)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(47.6%, 71.7%, 0%, 34.9%)
CIE-LABlab(31.38, 45.43, -57.58)
CIE-LCHlch(31.38, 73.34, 308.27°)
OKLaboklab(42.85% 0.0687 -0.165)
OKLCHoklch(42.85% 0.179 292.6)
XYZxyz(11.8280, 6.8120, 36.7606)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA6 #7EA62F
analogous
#2F43A6 #572FA6 #932FA6
triadic
#572FA6 #A6572F #2FA657
tetradic
#572FA6 #A62F43 #7EA62F #2FA693
square
#572FA6 #A62F43 #7EA62F #2FA693
split-complementary
#572FA6 #A6932F #43A62F
monochromatic
#251447 #3E2176 #572FA6 #7447CB #9877D8

Accessibility & contrast

On white

8.89
#572FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#572FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA6
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA6#FFFFFF#000000##FFFFFF
##572FA61.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#3F4E67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572fa6;
/* rgb */ color: rgb(87, 47, 166);
/* oklch */ color: oklch(42.9% 0.179 292.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bc1',
    500: '#572fa6',
    950: '#000000',
  },
}
SCSS
$custom: #572fa6;
$custom-light: #8e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa6",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 260.168,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4285,
    "c": 0.17878,
    "h": 292.6
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#572FA6
secondary
#A6C170
accent
#DF49AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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