#572FB5#572FB5

#572FB5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.196 H 289.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#572FB5
RGBrgb(87, 47, 181)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 71%)
CMYKcmyk(51.9%, 74%, 0%, 29%)
CIE-LABlab(32.69, 49.62, -64.40)
CIE-LCHlch(32.69, 81.30, 307.61°)
OKLaboklab(44.19% 0.0654 -0.185)
OKLCHoklch(44.19% 0.196 289.5)
XYZxyz(13.2851, 7.3949, 44.4344)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FB5 #8DB52F
analogous
#2F4AB5 #572FB5 #9A2FB5
triadic
#572FB5 #B5572F #2FB557
tetradic
#572FB5 #B52F4A #8DB52F #2FB59A
square
#572FB5 #B52F4A #8DB52F #2FB59A
split-complementary
#572FB5 #B59A2F #4AB52F
monochromatic
#281654 #402284 #572FB5 #7650D1 #9C80DE

Accessibility & contrast

On white

8.47
#572FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#572FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FB5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FB5#FFFFFF#000000##FFFFFF
##572FB51.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#345370
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #572fb5;
/* rgb */ color: rgb(87, 47, 181);
/* oklch */ color: oklch(44.2% 0.196 289.5);
Tailwind
colors: {
  custom: {
    50: '#906ccc',
    500: '#572fb5',
    950: '#000000',
  },
}
SCSS
$custom: #572fb5;
$custom-light: #906ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#572fb5",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 257.91,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.19626,
    "h": 289.5
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#572FB5
secondary
#B0C779
accent
#E246B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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