#572BB4#572BB4

#572BB4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.199 H 290.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#572BB4
RGBrgb(87, 43, 180)
HSLhsl(259, 61%, 44%)
HSVhsv(259, 76%, 71%)
CMYKcmyk(51.7%, 76.1%, 0%, 29.4%)
CIE-LABlab(31.92, 51.27, -65.07)
CIE-LCHlch(31.92, 82.85, 308.24°)
OKLaboklab(43.61% 0.0688 -0.187)
OKLCHoklch(43.61% 0.199 290.2)
XYZxyz(13.0302, 7.0487, 43.8451)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572BB4 #88B42B
analogous
#2B43B4 #572BB4 #9B2BB4
triadic
#572BB4 #B4572B #2BB457
tetradic
#572BB4 #B42B43 #88B42B #2BB49B
square
#572BB4 #B42B43 #88B42B #2BB49B
split-complementary
#572BB4 #B49B2B #43B42B
monochromatic
#271351 #3F1F83 #572BB4 #7549D3 #9B7ADF

Accessibility & contrast

On white

8.71
#572BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572BB4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572BB4#FFFFFF#000000##FFFFFF
##572BB41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#35516E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #572bb4;
/* rgb */ color: rgb(87, 43, 180);
/* oklch */ color: oklch(43.6% 0.199 290.2);
Tailwind
colors: {
  custom: {
    50: '#9069cc',
    500: '#572bb4',
    950: '#000000',
  },
}
SCSS
$custom: #572bb4;
$custom-light: #9069cc;
$custom-dark: #000000;
JSON
{
  "hex": "#572bb4",
  "rgb": {
    "r": 87,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 259.27,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43614,
    "c": 0.19926,
    "h": 290.2
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#572BB4
secondary
#ACC773
accent
#E543B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #572BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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