#572EAC#572EAC

#572EAC is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.187 H 291.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#572EAC
RGBrgb(87, 46, 172)
HSLhsl(260, 58%, 43%)
HSVhsv(260, 73%, 67%)
CMYKcmyk(49.4%, 73.3%, 0%, 32.5%)
CIE-LABlab(31.71, 47.61, -60.64)
CIE-LCHlch(31.71, 77.09, 308.14°)
OKLaboklab(43.25% 0.0683 -0.174)
OKLCHoklch(43.25% 0.187 291.4)
XYZxyz(12.3518, 6.9583, 39.7140)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EAC #83AC2E
analogous
#2E44AC #572EAC #962EAC
triadic
#572EAC #AC572E #2EAC57
tetradic
#572EAC #AC2E44 #83AC2E #2EAC96
square
#572EAC #AC2E44 #83AC2E #2EAC96
split-complementary
#572EAC #AC962E #44AC2E
monochromatic
#26144B #3F217C #572EAC #7449CE #9979DB

Accessibility & contrast

On white

8.78
#572EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#572EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EAC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EAC#FFFFFF#000000##FFFFFF
##572EAC1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#3B4F6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #572eac;
/* rgb */ color: rgb(87, 46, 172);
/* oklch */ color: oklch(43.2% 0.187 291.4);
Tailwind
colors: {
  custom: {
    50: '#8f6bc6',
    500: '#572eac',
    950: '#000000',
  },
}
SCSS
$custom: #572eac;
$custom-light: #8f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#572eac",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 259.524,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.18694,
    "h": 291.4
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#572EAC
secondary
#A9C372
accent
#E147AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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