#572EA1#572EA1

#572EA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.174 H 294.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#572EA1
RGBrgb(87, 46, 161)
HSLhsl(261, 56%, 41%)
HSVhsv(261, 71%, 63%)
CMYKcmyk(46%, 71.4%, 0%, 36.9%)
CIE-LABlab(30.77, 44.56, -55.56)
CIE-LCHlch(30.77, 71.22, 308.73°)
OKLaboklab(42.29% 0.0707 -0.1591)
OKLCHoklch(42.29% 0.174 294)
XYZxyz(11.3387, 6.5531, 34.3788)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EA1 #78A12E
analogous
#2E3EA1 #572EA1 #902EA1
triadic
#572EA1 #A1572E #2EA157
tetradic
#572EA1 #A12E3E #78A12E #2EA190
square
#572EA1 #A12E3E #78A12E #2EA190
split-complementary
#572EA1 #A1902E #3EA12E
monochromatic
#241342 #3D2071 #572EA1 #7343C9 #9673D7

Accessibility & contrast

On white

9.09
#572EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#572EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EA1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EA1#FFFFFF#000000##FFFFFF
##572EA11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#424B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572ea1;
/* rgb */ color: rgb(87, 46, 161);
/* oklch */ color: oklch(42.3% 0.174 294.0);
Tailwind
colors: {
  custom: {
    50: '#8d6abe',
    500: '#572ea1',
    950: '#000000',
  },
}
SCSS
$custom: #572ea1;
$custom-light: #8d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#572ea1",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 261.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42286,
    "c": 0.17409,
    "h": 294
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#572EA1
secondary
#A1BE6C
accent
#DF49A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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