#572FA2#572FA2

#572FA2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.174 H 293.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#572FA2
RGBrgb(87, 47, 162)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(46.3%, 71%, 0%, 36.5%)
CIE-LABlab(31.04, 44.31, -55.72)
CIE-LCHlch(31.04, 71.19, 308.49°)
OKLaboklab(42.51% 0.0695 -0.1596)
OKLCHoklch(42.51% 0.174 293.5)
XYZxyz(11.4668, 6.6676, 34.8582)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA2 #7AA22F
analogous
#2F40A2 #572FA2 #902FA2
triadic
#572FA2 #A2572F #2FA257
tetradic
#572FA2 #A22F40 #7AA22F #2FA290
square
#572FA2 #A22F40 #7AA22F #2FA290
split-complementary
#572FA2 #A2902F #40A22F
monochromatic
#241343 #3E2173 #572FA2 #7345C9 #9775D7

Accessibility & contrast

On white

9.00
#572FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#572FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA2#FFFFFF#000000##FFFFFF
##572FA21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#414C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572fa2;
/* rgb */ color: rgb(87, 47, 162);
/* oklch */ color: oklch(42.5% 0.174 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d6bbe',
    500: '#572fa2',
    950: '#000000',
  },
}
SCSS
$custom: #572fa2;
$custom-light: #8d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa2",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 260.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.17405,
    "h": 293.5
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#572FA2
secondary
#A3BF6E
accent
#DE49AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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