#572FA7#572FA7

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

Color values

HEX#572FA7
RGBrgb(87, 47, 167)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(47.9%, 71.9%, 0%, 34.5%)
CIE-LABlab(31.46, 45.70, -58.05)
CIE-LCHlch(31.46, 73.88, 308.22°)
OKLaboklab(42.94% 0.0685 -0.1664)
OKLCHoklch(42.94% 0.18 292.4)
XYZxyz(11.9201, 6.8489, 37.2456)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA7 #7FA72F
analogous
#2F43A7 #572FA7 #932FA7
triadic
#572FA7 #A7572F #2FA757
tetradic
#572FA7 #A72F43 #7FA72F #2FA793
square
#572FA7 #A72F43 #7FA72F #2FA793
split-complementary
#572FA7 #A7932F #43A72F
monochromatic
#251447 #3E2277 #572FA7 #7448CB #9878D9

Accessibility & contrast

On white

8.86
#572FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#572FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA7
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA7#FFFFFF#000000##FFFFFF
##572FA71.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#3E4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572fa7;
/* rgb */ color: rgb(87, 47, 167);
/* oklch */ color: oklch(42.9% 0.180 292.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bc2',
    500: '#572fa7',
    950: '#000000',
  },
}
SCSS
$custom: #572fa7;
$custom-light: #8e6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa7",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 260,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.17996,
    "h": 292.4
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#572FA7
secondary
#A6C171
accent
#DF48AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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