#572EB2#572EB2

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

Color values

HEX#572EB2
RGBrgb(87, 46, 178)
HSLhsl(259, 59%, 44%)
HSVhsv(259, 74%, 70%)
CMYKcmyk(51.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(32.24, 49.27, -63.35)
CIE-LCHlch(32.24, 80.25, 307.88°)
OKLaboklab(43.79% 0.0669 -0.1819)
OKLCHoklch(43.79% 0.194 290.2)
XYZxyz(12.9410, 7.1940, 42.8176)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EB2 #89B22E
analogous
#2E47B2 #572EB2 #992EB2
triadic
#572EB2 #B2572E #2EB257
tetradic
#572EB2 #B22E47 #89B22E #2EB299
square
#572EB2 #B22E47 #89B22E #2EB299
split-complementary
#572EB2 #B2992E #47B22E
monochromatic
#271551 #3F2181 #572EB2 #764CD1 #9B7DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572EB2#FFFFFF#000000##FFFFFF
##572EB21.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)
#004EB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#37526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572eb2;
/* rgb */ color: rgb(87, 46, 178);
/* oklch */ color: oklch(43.8% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#906bca',
    500: '#572eb2',
    950: '#000000',
  },
}
SCSS
$custom: #572eb2;
$custom-light: #906bca;
$custom-dark: #000000;
JSON
{
  "hex": "#572eb2",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 258.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.19387,
    "h": 290.2
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#572EB2
secondary
#ADC676
accent
#E246B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #572EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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