#572CAC#572CAC

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

Color values

HEX#572CAC
RGBrgb(87, 44, 172)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(49.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(31.36, 48.60, -61.21)
CIE-LCHlch(31.36, 78.16, 308.45°)
OKLaboklab(43% 0.0701 -0.1757)
OKLCHoklch(43% 0.189 291.8)
XYZxyz(12.2755, 6.8057, 39.6886)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CAC #81AC2C
analogous
#2C41AC #572CAC #972CAC
triadic
#572CAC #AC572C #2CAC57
tetradic
#572CAC #AC2C41 #81AC2C #2CAC97
square
#572CAC #AC2C41 #81AC2C #2CAC97
split-complementary
#572CAC #AC972C #41AC2C
monochromatic
#26134B #3E207B #572CAC #7446D0 #9976DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572CAC#FFFFFF#000000##FFFFFF
##572CAC1.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)
#004CB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#3B4E6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572cac;
/* rgb */ color: rgb(87, 44, 172);
/* oklch */ color: oklch(43.0% 0.189 291.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ac6',
    500: '#572cac',
    950: '#000000',
  },
}
SCSS
$custom: #572cac;
$custom-light: #8f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#572cac",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 260.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43,
    "c": 0.18915,
    "h": 291.8
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#572CAC
secondary
#A8C470
accent
#E245AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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