#572AA8#572AA8

#572AA8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.187 H 292.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#572AA8
RGBrgb(87, 42, 168)
HSLhsl(261, 60%, 41%)
HSVhsv(261, 75%, 66%)
CMYKcmyk(48.2%, 75%, 0%, 34.1%)
CIE-LABlab(30.66, 48.48, -59.95)
CIE-LCHlch(30.66, 77.10, 308.96°)
OKLaboklab(42.4% 0.0728 -0.172)
OKLCHoklch(42.4% 0.187 292.9)
XYZxyz(11.8244, 6.5089, 37.6715)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AA8 #7BA82A
analogous
#2A3CA8 #572AA8 #962AA8
triadic
#572AA8 #A8572A #2AA857
tetradic
#572AA8 #A82A3C #7BA82A #2AA896
square
#572AA8 #A82A3C #7BA82A #2AA896
split-complementary
#572AA8 #A8962A #3CA82A
monochromatic
#241246 #3E1E77 #572AA8 #7340CF #9771DB

Accessibility & contrast

On white

9.12
#572AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#572AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572AA8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AA8#FFFFFF#000000##FFFFFF
##572AA81.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#3E4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572aa8;
/* rgb */ color: rgb(87, 42, 168);
/* oklch */ color: oklch(42.4% 0.187 292.9);
Tailwind
colors: {
  custom: {
    50: '#8e68c3',
    500: '#572aa8',
    950: '#000000',
  },
}
SCSS
$custom: #572aa8;
$custom-light: #8e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#572aa8",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 261.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.18674,
    "h": 292.9
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#572AA8
secondary
#A3C36B
accent
#E345AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #572AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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