#572DB4#572DB4

#572DB4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.197 H 289.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#572DB4
RGBrgb(87, 45, 180)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 71%)
CMYKcmyk(51.7%, 75%, 0%, 29.4%)
CIE-LABlab(32.25, 50.32, -64.52)
CIE-LCHlch(32.25, 81.82, 307.95°)
OKLaboklab(43.85% 0.0673 -0.1854)
OKLCHoklch(43.85% 0.197 289.9)
XYZxyz(13.1047, 7.1977, 43.8700)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DB4 #8AB42D
analogous
#2D46B4 #572DB4 #9B2DB4
triadic
#572DB4 #B4572D #2DB457
tetradic
#572DB4 #B42D46 #8AB42D #2DB49B
square
#572DB4 #B42D46 #8AB42D #2DB49B
split-complementary
#572DB4 #B49B2D #46B42D
monochromatic
#281552 #3F2183 #572DB4 #764CD2 #9B7DDE

Accessibility & contrast

On white

8.61
#572DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#572DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DB4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DB4#FFFFFF#000000##FFFFFF
##572DB41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#35526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572db4;
/* rgb */ color: rgb(87, 45, 180);
/* oklch */ color: oklch(43.8% 0.197 289.9);
Tailwind
colors: {
  custom: {
    50: '#906acc',
    500: '#572db4',
    950: '#000000',
  },
}
SCSS
$custom: #572db4;
$custom-light: #906acc;
$custom-dark: #000000;
JSON
{
  "hex": "#572db4",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 258.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.19721,
    "h": 289.9
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#572DB4
secondary
#AEC776
accent
#E345B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #572DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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