#572EA2#572EA2

#572EA2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.175 H 293.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#572EA2
RGBrgb(87, 46, 162)
HSLhsl(261, 56%, 41%)
HSVhsv(261, 72%, 64%)
CMYKcmyk(46.3%, 71.6%, 0%, 36.5%)
CIE-LABlab(30.85, 44.83, -56.02)
CIE-LCHlch(30.85, 71.75, 308.67°)
OKLaboklab(42.37% 0.0705 -0.1605)
OKLCHoklch(42.37% 0.175 293.7)
XYZxyz(11.4273, 6.5885, 34.8450)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EA2 #79A22E
analogous
#2E3FA2 #572EA2 #912EA2
triadic
#572EA2 #A2572E #2EA257
tetradic
#572EA2 #A22E3F #79A22E #2EA291
square
#572EA2 #A22E3F #79A22E #2EA291
split-complementary
#572EA2 #A2912E #3FA22E
monochromatic
#241343 #3D2072 #572EA2 #7343CA #9773D7

Accessibility & contrast

On white

9.06
#572EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#572EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EA2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EA2#FFFFFF#000000##FFFFFF
##572EA21.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#414B65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572ea2;
/* rgb */ color: rgb(87, 46, 162);
/* oklch */ color: oklch(42.4% 0.175 293.7);
Tailwind
colors: {
  custom: {
    50: '#8d6abe',
    500: '#572ea2',
    950: '#000000',
  },
}
SCSS
$custom: #572ea2;
$custom-light: #8d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#572ea2",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 261.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.17526,
    "h": 293.7
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#572EA2
secondary
#A2BF6D
accent
#DF49AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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