#572DAB#572DAB

#572DAB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.187 H 291.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#572DAB
RGBrgb(87, 45, 171)
HSLhsl(260, 58%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(49.1%, 73.7%, 0%, 32.9%)
CIE-LABlab(31.45, 47.83, -60.47)
CIE-LCHlch(31.45, 77.10, 308.34°)
OKLaboklab(43.03% 0.0695 -0.1735)
OKLCHoklch(43.03% 0.187 291.8)
XYZxyz(12.2175, 6.8428, 39.1972)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DAB #81AB2D
analogous
#2D42AB #572DAB #962DAB
triadic
#572DAB #AB572D #2DAB57
tetradic
#572DAB #AB2D42 #81AB2D #2DAB96
square
#572DAB #AB2D42 #81AB2D #2DAB96
split-complementary
#572DAB #AB962D #42AB2D
monochromatic
#26144A #3E207B #572DAB #7447CE #9977DB

Accessibility & contrast

On white

8.87
#572DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#572DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DAB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DAB#FFFFFF#000000##FFFFFF
##572DAB1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3C4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572dab;
/* rgb */ color: rgb(87, 45, 171);
/* oklch */ color: oklch(43.0% 0.187 291.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ac5',
    500: '#572dab',
    950: '#000000',
  },
}
SCSS
$custom: #572dab;
$custom-light: #8f6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#572dab",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.1869,
    "h": 291.8
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#572DAB
secondary
#A8C371
accent
#E246AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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