#572293#572293

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

Color values

HEX#572293
RGBrgb(87, 34, 147)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(40.8%, 76.9%, 0%, 42.4%)
CIE-LABlab(27.51, 46.66, -52.32)
CIE-LCHlch(27.51, 70.10, 311.73°)
OKLaboklab(39.61% 0.0852 -0.1495)
OKLCHoklch(39.61% 0.172 299.7)
XYZxyz(9.7676, 5.2768, 28.1020)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572293 #5E9322
analogous
#222593 #572293 #902293
triadic
#572293 #935722 #229357
tetradic
#572293 #932225 #5E9322 #229390
square
#572293 #932225 #5E9322 #229390
split-complementary
#572293 #939022 #259322
monochromatic
#1C0B30 #3A1761 #572293 #742DC5 #9457D8

Accessibility & contrast

On white

10.22
#572293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572293
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572293#FFFFFF#000000##FFFFFF
##5722931.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572293;
/* rgb */ color: rgb(87, 34, 147);
/* oklch */ color: oklch(39.6% 0.172 299.7);
Tailwind
colors: {
  custom: {
    50: '#8c63b4',
    500: '#572293',
    950: '#000000',
  },
}
SCSS
$custom: #572293;
$custom-light: #8c63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572293",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 268.142,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.17211,
    "h": 299.7
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#572293
secondary
#8CBC55
accent
#E54299
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572293

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

Preview Lab → · Contrast checker → · Palette generator →

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