#572294#572294

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

Color values

HEX#572294
RGBrgb(87, 34, 148)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(41.2%, 77%, 0%, 42%)
CIE-LABlab(27.60, 46.92, -52.80)
CIE-LCHlch(27.60, 70.63, 311.63°)
OKLaboklab(39.7% 0.085 -0.1509)
OKLCHoklch(39.7% 0.173 299.4)
XYZxyz(9.8465, 5.3083, 28.5171)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572294 #5F9422
analogous
#222694 #572294 #902294
triadic
#572294 #945722 #229457
tetradic
#572294 #942226 #5F9422 #229490
square
#572294 #942226 #5F9422 #229490
split-complementary
#572294 #949022 #269422
monochromatic
#1C0B30 #3A1762 #572294 #742DC6 #9458D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572294#FFFFFF#000000##FFFFFF
##5722941.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)
#004197
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#48405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572294;
/* rgb */ color: rgb(87, 34, 148);
/* oklch */ color: oklch(39.7% 0.173 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c63b4',
    500: '#572294',
    950: '#000000',
  },
}
SCSS
$custom: #572294;
$custom-light: #8c63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572294",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 267.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.17319,
    "h": 299.4
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#572294
secondary
#8DBD55
accent
#E6429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572294

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

Preview Lab → · Contrast checker → · Palette generator →

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