#572CB2#572CB2

#572CB2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.196 H 290.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#572CB2
RGBrgb(87, 44, 178)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 70%)
CMYKcmyk(51.1%, 75.3%, 0%, 30.2%)
CIE-LABlab(31.90, 50.25, -63.91)
CIE-LCHlch(31.90, 81.30, 308.18°)
OKLaboklab(43.55% 0.0686 -0.1836)
OKLCHoklch(43.55% 0.196 290.5)
XYZxyz(12.8647, 7.0414, 42.7921)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CB2 #87B22C
analogous
#2C44B2 #572CB2 #9A2CB2
triadic
#572CB2 #B2572C #2CB257
tetradic
#572CB2 #B22C44 #87B22C #2CB29A
square
#572CB2 #B22C44 #87B22C #2CB29A
split-complementary
#572CB2 #B29A2C #44B22C
monochromatic
#271450 #3F2081 #572CB2 #7549D2 #9A7ADE

Accessibility & contrast

On white

8.72
#572CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#572CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CB2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CB2#FFFFFF#000000##FFFFFF
##572CB21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#37516D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #572cb2;
/* rgb */ color: rgb(87, 44, 178);
/* oklch */ color: oklch(43.5% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#906aca',
    500: '#572cb2',
    950: '#000000',
  },
}
SCSS
$custom: #572cb2;
$custom-light: #906aca;
$custom-dark: #000000;
JSON
{
  "hex": "#572cb2",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 259.254,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.19598,
    "h": 290.5
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#572CB2
secondary
#ACC673
accent
#E444B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #572CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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