#572FA8#572FA8

#572FA8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.181 H 292.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#572FA8
RGBrgb(87, 47, 168)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 66%)
CMYKcmyk(48.2%, 72%, 0%, 34.1%)
CIE-LABlab(31.55, 45.98, -58.51)
CIE-LCHlch(31.55, 74.41, 308.17°)
OKLaboklab(43.02% 0.0683 -0.1678)
OKLCHoklch(43.02% 0.181 292.2)
XYZxyz(12.0129, 6.8860, 37.7344)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FA8 #80A82F
analogous
#2F43A8 #572FA8 #942FA8
triadic
#572FA8 #A8572F #2FA857
tetradic
#572FA8 #A82F43 #80A82F #2FA894
square
#572FA8 #A82F43 #80A82F #2FA894
split-complementary
#572FA8 #A8942F #43A82F
monochromatic
#251448 #3E2278 #572FA8 #7448CC #9878D9

Accessibility & contrast

On white

8.83
#572FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#572FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FA8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FA8#FFFFFF#000000##FFFFFF
##572FA81.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#3E4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572fa8;
/* rgb */ color: rgb(87, 47, 168);
/* oklch */ color: oklch(43.0% 0.181 292.2);
Tailwind
colors: {
  custom: {
    50: '#8e6bc3',
    500: '#572fa8',
    950: '#000000',
  },
}
SCSS
$custom: #572fa8;
$custom-light: #8e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#572fa8",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 259.835,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.18114,
    "h": 292.2
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#572FA8
secondary
#A7C171
accent
#E048AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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