#572CAB#572CAB

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

Color values

HEX#572CAB
RGBrgb(87, 44, 171)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(49.1%, 74.3%, 0%, 32.9%)
CIE-LABlab(31.27, 48.32, -60.76)
CIE-LCHlch(31.27, 77.63, 308.50°)
OKLaboklab(42.91% 0.0703 -0.1743)
OKLCHoklch(42.91% 0.188 292)
XYZxyz(12.1798, 6.7674, 39.1847)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CAB #80AB2C
analogous
#2C40AB #572CAB #972CAB
triadic
#572CAB #AB572C #2CAB57
tetradic
#572CAB #AB2C40 #80AB2C #2CAB97
square
#572CAB #AB2C40 #80AB2C #2CAB97
split-complementary
#572CAB #AB972C #40AB2C
monochromatic
#25134A #3E1F7A #572CAB #7445CF #9876DC

Accessibility & contrast

On white

8.92
#572CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#572CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CAB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CAB#FFFFFF#000000##FFFFFF
##572CAB1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3C4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572cab;
/* rgb */ color: rgb(87, 44, 171);
/* oklch */ color: oklch(42.9% 0.188 292.0);
Tailwind
colors: {
  custom: {
    50: '#8f69c5',
    500: '#572cab',
    950: '#000000',
  },
}
SCSS
$custom: #572cab;
$custom-light: #8f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#572cab",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 260.315,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.18799,
    "h": 292
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#572CAB
secondary
#A7C36F
accent
#E246AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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