#572BAB#572BAB

#572BAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.189 H 292.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#572BAB
RGBrgb(87, 43, 171)
HSLhsl(261, 60%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(49.1%, 74.9%, 0%, 32.9%)
CIE-LABlab(31.10, 48.81, -61.04)
CIE-LCHlch(31.10, 78.16, 308.65°)
OKLaboklab(42.79% 0.0712 -0.1752)
OKLCHoklch(42.79% 0.189 292.1)
XYZxyz(12.1430, 6.6938, 39.1724)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572BAB #7FAB2B
analogous
#2B3FAB #572BAB #972BAB
triadic
#572BAB #AB572B #2BAB57
tetradic
#572BAB #AB2B3F #7FAB2B #2BAB97
square
#572BAB #AB2B3F #7FAB2B #2BAB97
split-complementary
#572BAB #AB972B #3FAB2B
monochromatic
#251249 #3E1F7A #572BAB #7443D0 #9874DC

Accessibility & contrast

On white

8.98
#572BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#572BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572BAB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572BAB#FFFFFF#000000##FFFFFF
##572BAB1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3C4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572bab;
/* rgb */ color: rgb(87, 43, 171);
/* oklch */ color: oklch(42.8% 0.189 292.1);
Tailwind
colors: {
  custom: {
    50: '#8f69c5',
    500: '#572bab',
    950: '#000000',
  },
}
SCSS
$custom: #572bab;
$custom-light: #8f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#572bab",
  "rgb": {
    "r": 87,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 260.625,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.18907,
    "h": 292.1
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#572BAB
secondary
#A6C46E
accent
#E345AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #572BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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