#572192#572192

#572192 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.172 H 300.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#572192
RGBrgb(87, 33, 146)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(40.4%, 77.4%, 0%, 42.7%)
CIE-LABlab(27.27, 46.85, -52.10)
CIE-LCHlch(27.27, 70.07, 311.96°)
OKLaboklab(39.42% 0.0864 -0.1489)
OKLCHoklch(39.42% 0.172 300.1)
XYZxyz(9.6613, 5.1892, 27.6812)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572192 #5C9221
analogous
#212392 #572192 #902192
triadic
#572192 #925721 #219257
tetradic
#572192 #922123 #5C9221 #219290
square
#572192 #922123 #5C9221 #219290
split-complementary
#572192 #929021 #239221
monochromatic
#1C0A2E #391660 #572192 #752CC4 #9455D9

Accessibility & contrast

On white

10.31
#572192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#572192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572192
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572192#FFFFFF#000000##FFFFFF
##5721921.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572192;
/* rgb */ color: rgb(87, 33, 146);
/* oklch */ color: oklch(39.4% 0.172 300.1);
Tailwind
colors: {
  custom: {
    50: '#8c62b3',
    500: '#572192',
    950: '#000000',
  },
}
SCSS
$custom: #572192;
$custom-light: #8c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#572192",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 268.673,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.17212,
    "h": 300.1
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#572192
secondary
#8ABC53
accent
#E64298
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572192

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

Preview Lab → · Contrast checker → · Palette generator →

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