#572AA7#572AA7

#572AA7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.186 H 293.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#572AA7
RGBrgb(87, 42, 167)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(47.9%, 74.9%, 0%, 34.5%)
CIE-LABlab(30.57, 48.20, -59.50)
CIE-LCHlch(30.57, 76.57, 309.01°)
OKLaboklab(42.31% 0.0731 -0.1706)
OKLCHoklch(42.31% 0.186 293.2)
XYZxyz(11.7316, 6.4718, 37.1828)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AA7 #7AA72A
analogous
#2A3BA7 #572AA7 #952AA7
triadic
#572AA7 #A7572A #2AA757
tetradic
#572AA7 #A72A3B #7AA72A #2AA795
square
#572AA7 #A72A3B #7AA72A #2AA795
split-complementary
#572AA7 #A7952A #3BA72A
monochromatic
#241145 #3E1E76 #572AA7 #733FCF #9770DB

Accessibility & contrast

On white

9.15
#572AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#572AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572AA7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572AA7#FFFFFF#000000##FFFFFF
##572AA71.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#3E4B66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572aa7;
/* rgb */ color: rgb(87, 42, 167);
/* oklch */ color: oklch(42.3% 0.186 293.2);
Tailwind
colors: {
  custom: {
    50: '#8e68c2',
    500: '#572aa7',
    950: '#000000',
  },
}
SCSS
$custom: #572aa7;
$custom-light: #8e68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#572aa7",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 261.6,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.18561,
    "h": 293.2
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#572AA7
secondary
#A3C26B
accent
#E345AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #572AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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