#572FA5#572FA5

#572FA5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.178 H 292.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#572FA5
RGBrgb(87, 47, 165)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(47.3%, 71.5%, 0%, 35.3%)
CIE-LABlab(31.29, 45.15, -57.12)
CIE-LCHlch(31.29, 72.81, 308.32°)
OKLaboklab(42.76% 0.0689 -0.1637)
OKLCHoklch(42.76% 0.178 292.8)
XYZxyz(11.7366, 6.7755, 36.2794)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA5 #7DA52F
analogous
#2F42A5 #572FA5 #922FA5
triadic
#572FA5 #A5572F #2FA557
tetradic
#572FA5 #A52F42 #7DA52F #2FA592
square
#572FA5 #A52F42 #7DA52F #2FA592
split-complementary
#572FA5 #A5922F #42A52F
monochromatic
#251446 #3E2175 #572FA5 #7347CB #9776D8

Accessibility & contrast

On white

8.92
#572FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#572FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA5#FFFFFF#000000##FFFFFF
##572FA51.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#3F4D67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572fa5;
/* rgb */ color: rgb(87, 47, 165);
/* oklch */ color: oklch(42.8% 0.178 292.8);
Tailwind
colors: {
  custom: {
    50: '#8e6bc1',
    500: '#572fa5',
    950: '#000000',
  },
}
SCSS
$custom: #572fa5;
$custom-light: #8e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa5",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 260.339,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.1776,
    "h": 292.8
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#572FA5
secondary
#A5C070
accent
#DF49AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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