#572AAA#572AAA

#572AAA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.189 H 292.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#572AAA
RGBrgb(87, 42, 170)
HSLhsl(261, 60%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(48.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(30.84, 49.02, -60.86)
CIE-LCHlch(30.84, 78.15, 308.85°)
OKLaboklab(42.58% 0.0723 -0.1746)
OKLCHoklch(42.58% 0.189 292.5)
XYZxyz(12.0121, 6.5840, 38.6603)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AAA #7DAA2A
analogous
#2A3DAA #572AAA #972AAA
triadic
#572AAA #AA572A #2AAA57
tetradic
#572AAA #AA2A3D #7DAA2A #2AAA97
square
#572AAA #AA2A3D #7DAA2A #2AAA97
split-complementary
#572AAA #AA972A #3DAA2A
monochromatic
#251248 #3E1E79 #572AAA #7341D0 #9772DC

Accessibility & contrast

On white

9.06
#572AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572AAA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AAA#FFFFFF#000000##FFFFFF
##572AAA1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#3D4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572aaa;
/* rgb */ color: rgb(87, 42, 170);
/* oklch */ color: oklch(42.6% 0.189 292.5);
Tailwind
colors: {
  custom: {
    50: '#8f68c4',
    500: '#572aaa',
    950: '#000000',
  },
}
SCSS
$custom: #572aaa;
$custom-light: #8f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#572aaa",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 261.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.18901,
    "h": 292.5
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #572AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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