#572AAF#572AAF

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

Color values

HEX#572AAF
RGBrgb(87, 42, 175)
HSLhsl(260, 61%, 43%)
HSVhsv(260, 76%, 69%)
CMYKcmyk(50.3%, 76%, 0%, 31.4%)
CIE-LABlab(31.29, 50.38, -63.12)
CIE-LCHlch(31.29, 80.76, 308.60°)
OKLaboklab(43.04% 0.071 -0.1812)
OKLCHoklch(43.04% 0.195 291.4)
XYZxyz(12.4941, 6.7768, 41.1989)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572AAF #82AF2A
analogous
#2A3FAF #572AAF #9A2AAF
triadic
#572AAF #AF572A #2AAF57
tetradic
#572AAF #AF2A3F #82AF2A #2AAF9A
square
#572AAF #AF2A3F #82AF2A #2AAF9A
split-complementary
#572AAF #AF9A2A #3FAF2A
monochromatic
#26124C #3E1E7E #572AAF #7444D2 #9975DE

Accessibility & contrast

On white

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

On black

2.36
#572AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##572AAF#FFFFFF#000000##FFFFFF
##572AAF1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#394F6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572aaf;
/* rgb */ color: rgb(87, 42, 175);
/* oklch */ color: oklch(43.0% 0.195 291.4);
Tailwind
colors: {
  custom: {
    50: '#8f69c8',
    500: '#572aaf',
    950: '#000000',
  },
}
SCSS
$custom: #572aaf;
$custom-light: #8f69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#572aaf",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 260.301,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.19465,
    "h": 291.4
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#572AAF
secondary
#A8C66F
accent
#E443AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #572AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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