#572CA6#572CA6

#572CA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.182 H 293.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#572CA6
RGBrgb(87, 44, 166)
HSLhsl(261, 58%, 41%)
HSVhsv(261, 73%, 65%)
CMYKcmyk(47.6%, 73.5%, 0%, 34.9%)
CIE-LABlab(30.83, 46.95, -58.47)
CIE-LCHlch(30.83, 74.99, 308.76°)
OKLaboklab(42.47% 0.0715 -0.1676)
OKLCHoklch(42.47% 0.182 293.1)
XYZxyz(11.7122, 6.5804, 36.7220)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CA6 #7BA62C
analogous
#2C3EA6 #572CA6 #942CA6
triadic
#572CA6 #A6572C #2CA657
tetradic
#572CA6 #A62C3E #7BA62C #2CA694
square
#572CA6 #A62C3E #7BA62C #2CA694
split-complementary
#572CA6 #A6942C #3EA62C
monochromatic
#241245 #3E1F76 #572CA6 #7342CD #9773DA

Accessibility & contrast

On white

9.07
#572CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#572CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CA6
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CA6#FFFFFF#000000##FFFFFF
##572CA61.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#3F4C66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572ca6;
/* rgb */ color: rgb(87, 44, 166);
/* oklch */ color: oklch(42.5% 0.182 293.1);
Tailwind
colors: {
  custom: {
    50: '#8e69c1',
    500: '#572ca6',
    950: '#000000',
  },
}
SCSS
$custom: #572ca6;
$custom-light: #8e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#572ca6",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 261.148,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.18225,
    "h": 293.1
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#572CA6
secondary
#A3C16D
accent
#E146AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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