#572FA1#572FA1

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

Color values

HEX#572FA1
RGBrgb(87, 47, 161)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 63%)
CMYKcmyk(46%, 70.8%, 0%, 36.9%)
CIE-LABlab(30.95, 44.03, -55.25)
CIE-LCHlch(30.95, 70.65, 308.56°)
OKLaboklab(42.42% 0.0697 -0.1582)
OKLCHoklch(42.42% 0.173 293.8)
XYZxyz(11.3783, 6.6321, 34.3919)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA1 #79A12F
analogous
#2F40A1 #572FA1 #902FA1
triadic
#572FA1 #A1572F #2FA157
tetradic
#572FA1 #A12F40 #79A12F #2FA190
square
#572FA1 #A12F40 #79A12F #2FA190
split-complementary
#572FA1 #A1902F #40A12F
monochromatic
#241342 #3D2172 #572FA1 #7345C9 #9774D6

Accessibility & contrast

On white

9.03
#572FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#572FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA1#FFFFFF#000000##FFFFFF
##572FA11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#424C64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572fa1;
/* rgb */ color: rgb(87, 47, 161);
/* oklch */ color: oklch(42.4% 0.173 293.8);
Tailwind
colors: {
  custom: {
    50: '#8d6bbe',
    500: '#572fa1',
    950: '#000000',
  },
}
SCSS
$custom: #572fa1;
$custom-light: #8d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa1",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 261.053,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.17286,
    "h": 293.8
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#572FA1
secondary
#A2BE6E
accent
#DE4AAA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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