#572EA9#572EA9

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

Color values

HEX#572EA9
RGBrgb(87, 46, 169)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 73%, 66%)
CMYKcmyk(48.5%, 72.8%, 0%, 33.7%)
CIE-LABlab(31.45, 46.77, -59.26)
CIE-LCHlch(31.45, 75.50, 308.28°)
OKLaboklab(42.98% 0.069 -0.17)
OKLCHoklch(42.98% 0.183 292.1)
XYZxyz(12.0669, 6.8444, 38.2137)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EA9 #80A92E
analogous
#2E43A9 #572EA9 #952EA9
triadic
#572EA9 #A9572E #2EA957
tetradic
#572EA9 #A92E43 #80A92E #2EA995
square
#572EA9 #A92E43 #80A92E #2EA995
split-complementary
#572EA9 #A9952E #43A92E
monochromatic
#251449 #3E2179 #572EA9 #7447CD #9877DA

Accessibility & contrast

On white

8.86
#572EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572EA9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EA9#FFFFFF#000000##FFFFFF
##572EA91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3D4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572ea9;
/* rgb */ color: rgb(87, 46, 169);
/* oklch */ color: oklch(43.0% 0.183 292.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bc4',
    500: '#572ea9',
    950: '#000000',
  },
}
SCSS
$custom: #572ea9;
$custom-light: #8e6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#572ea9",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 260,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.18346,
    "h": 292.1
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#572EA9
secondary
#A7C271
accent
#E047AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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