#572EB3#572EB3

#572EB3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.195 H 290.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#572EB3
RGBrgb(87, 46, 179)
HSLhsl(258, 59%, 44%)
HSVhsv(258, 74%, 70%)
CMYKcmyk(51.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(32.33, 49.55, -63.79)
CIE-LCHlch(32.33, 80.78, 307.84°)
OKLaboklab(43.88% 0.0667 -0.1833)
OKLCHoklch(43.88% 0.195 290)
XYZxyz(13.0418, 7.2343, 43.3483)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EB3 #8AB32E
analogous
#2E48B3 #572EB3 #9A2EB3
triadic
#572EB3 #B3572E #2EB357
tetradic
#572EB3 #B32E48 #8AB32E #2EB39A
square
#572EB3 #B32E48 #8AB32E #2EB39A
split-complementary
#572EB3 #B39A2E #48B32E
monochromatic
#281552 #3F2182 #572EB3 #764DD1 #9B7EDE

Accessibility & contrast

On white

8.58
#572EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#572EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EB3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EB3#FFFFFF#000000##FFFFFF
##572EB31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#36526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572eb3;
/* rgb */ color: rgb(87, 46, 179);
/* oklch */ color: oklch(43.9% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#906bcb',
    500: '#572eb3',
    950: '#000000',
  },
}
SCSS
$custom: #572eb3;
$custom-light: #906bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#572eb3",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 258.496,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.19502,
    "h": 290
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #572EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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