#572292#572292

#572292 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.171 H 300.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#572292
RGBrgb(87, 34, 146)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 77%, 57%)
CMYKcmyk(40.4%, 76.7%, 0%, 42.7%)
CIE-LABlab(27.42, 46.41, -51.85)
CIE-LCHlch(27.42, 69.58, 311.83°)
OKLaboklab(39.53% 0.0855 -0.1481)
OKLCHoklch(39.53% 0.171 300)
XYZxyz(9.6895, 5.2455, 27.6906)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572292 #5D9222
analogous
#222592 #572292 #8F2292
triadic
#572292 #925722 #229257
tetradic
#572292 #922225 #5D9222 #22928F
square
#572292 #922225 #5D9222 #22928F
split-complementary
#572292 #928F22 #259222
monochromatic
#1C0B2F #391660 #572292 #752EC4 #9457D8

Accessibility & contrast

On white

10.25
#572292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#572292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572292
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572292#FFFFFF#000000##FFFFFF
##5722921.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#493F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572292;
/* rgb */ color: rgb(87, 34, 146);
/* oklch */ color: oklch(39.5% 0.171 300.0);
Tailwind
colors: {
  custom: {
    50: '#8c63b3',
    500: '#572292',
    950: '#000000',
  },
}
SCSS
$custom: #572292;
$custom-light: #8c63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#572292",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 268.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.17102,
    "h": 300
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#572292
secondary
#8BBC54
accent
#E54398
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572292

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

Preview Lab → · Contrast checker → · Palette generator →

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