#572BA2#572BA2

#572BA2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.179 H 294.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#572BA2
RGBrgb(87, 43, 162)
HSLhsl(262, 58%, 40%)
HSVhsv(262, 73%, 64%)
CMYKcmyk(46.3%, 73.5%, 0%, 36.5%)
CIE-LABlab(30.31, 46.35, -56.91)
CIE-LCHlch(30.31, 73.40, 309.16°)
OKLaboklab(41.99% 0.0733 -0.163)
OKLCHoklch(41.99% 0.179 294.2)
XYZxyz(11.3142, 6.3623, 34.8073)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572BA2 #76A22B
analogous
#2B3AA2 #572BA2 #932BA2
triadic
#572BA2 #A2572B #2BA257
tetradic
#572BA2 #A22B3A #76A22B #2BA293
square
#572BA2 #A22B3A #76A22B #2BA293
split-complementary
#572BA2 #A2932B #3AA22B
monochromatic
#231141 #3D1E72 #572BA2 #733ECC #966FD9

Accessibility & contrast

On white

9.24
#572BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#572BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572BA2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572BA2#FFFFFF#000000##FFFFFF
##572BA21.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#414A64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572ba2;
/* rgb */ color: rgb(87, 43, 162);
/* oklch */ color: oklch(42.0% 0.179 294.2);
Tailwind
colors: {
  custom: {
    50: '#8e69be',
    500: '#572ba2',
    950: '#000000',
  },
}
SCSS
$custom: #572ba2;
$custom-light: #8e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#572ba2",
  "rgb": {
    "r": 87,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 262.185,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.17878,
    "h": 294.2
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#572BA2
secondary
#A0C069
accent
#E147A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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