#572392#572392

#572392 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.170 H 299.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#572392
RGBrgb(87, 35, 146)
HSLhsl(268, 61%, 35%)
HSVhsv(268, 76%, 57%)
CMYKcmyk(40.4%, 76%, 0%, 42.7%)
CIE-LABlab(27.58, 45.95, -51.59)
CIE-LCHlch(27.58, 69.08, 311.69°)
OKLaboklab(39.64% 0.0846 -0.1474)
OKLCHoklch(39.64% 0.17 299.8)
XYZxyz(9.7185, 5.3035, 27.7002)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572392 #5E9223
analogous
#232692 #572392 #8E2392
triadic
#572392 #925723 #239257
tetradic
#572392 #922326 #5E9223 #23928E
square
#572392 #922326 #5E9223 #23928E
split-complementary
#572392 #928E23 #269223
monochromatic
#1C0B2F #3A1761 #572392 #742FC3 #9458D7

Accessibility & contrast

On white

10.19
#572392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#572392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572392
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572392#FFFFFF#000000##FFFFFF
##5723921.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#494059
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572392;
/* rgb */ color: rgb(87, 35, 146);
/* oklch */ color: oklch(39.6% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#8c63b3',
    500: '#572392',
    950: '#000000',
  },
}
SCSS
$custom: #572392;
$custom-light: #8c63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#572392",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 268.108,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.1699,
    "h": 299.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#572392
secondary
#8CBB55
accent
#E44399
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572392

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

Preview Lab → · Contrast checker → · Palette generator →

#572392 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva