#572AAB#572AAB

#572AAB is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.190 H 292.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#572AAB
RGBrgb(87, 42, 171)
HSLhsl(261, 61%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(49.1%, 75.4%, 0%, 32.9%)
CIE-LABlab(30.93, 49.29, -61.32)
CIE-LCHlch(30.93, 78.67, 308.80°)
OKLaboklab(42.67% 0.072 -0.176)
OKLCHoklch(42.67% 0.19 292.3)
XYZxyz(12.1071, 6.6220, 39.1604)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AAB #7EAB2A
analogous
#2A3EAB #572AAB #982AAB
triadic
#572AAB #AB572A #2AAB57
tetradic
#572AAB #AB2A3E #7EAB2A #2AAB98
square
#572AAB #AB2A3E #7EAB2A #2AAB98
split-complementary
#572AAB #AB982A #3EAB2A
monochromatic
#251249 #3E1E7A #572AAB #7442D1 #9873DD

Accessibility & contrast

On white

9.03
#572AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572AAB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AAB#FFFFFF#000000##FFFFFF
##572AAB1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#3C4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572aab;
/* rgb */ color: rgb(87, 42, 171);
/* oklch */ color: oklch(42.7% 0.190 292.3);
Tailwind
colors: {
  custom: {
    50: '#8f68c5',
    500: '#572aab',
    950: '#000000',
  },
}
SCSS
$custom: #572aab;
$custom-light: #8f68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#572aab",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 260.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.19014,
    "h": 292.3
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#572AAB
secondary
#A6C46D
accent
#E444AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #572AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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