#572EA8#572EA8

#572EA8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.182 H 292.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#572EA8
RGBrgb(87, 46, 168)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 73%, 66%)
CMYKcmyk(48.2%, 72.6%, 0%, 34.1%)
CIE-LABlab(31.36, 46.49, -58.81)
CIE-LCHlch(31.36, 74.97, 308.33°)
OKLaboklab(42.89% 0.0692 -0.1686)
OKLCHoklch(42.89% 0.182 292.3)
XYZxyz(11.9734, 6.8070, 37.7212)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EA8 #7FA82E
analogous
#2E42A8 #572EA8 #942EA8
triadic
#572EA8 #A8572E #2EA857
tetradic
#572EA8 #A82E42 #7FA82E #2EA894
square
#572EA8 #A82E42 #7FA82E #2EA894
split-complementary
#572EA8 #A8942E #42A82E
monochromatic
#251448 #3E2178 #572EA8 #7447CD #9877DA

Accessibility & contrast

On white

8.89
#572EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572EA8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EA8#FFFFFF#000000##FFFFFF
##572EA81.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572ea8;
/* rgb */ color: rgb(87, 46, 168);
/* oklch */ color: oklch(42.9% 0.182 292.3);
Tailwind
colors: {
  custom: {
    50: '#8e6ac3',
    500: '#572ea8',
    950: '#000000',
  },
}
SCSS
$custom: #572ea8;
$custom-light: #8e6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#572ea8",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 260.164,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.18229,
    "h": 292.3
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#572EA8
secondary
#A6C270
accent
#E048AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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