#572296#572296

#572296 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.175 H 298.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#572296
RGBrgb(87, 34, 150)
HSLhsl(267, 63%, 36%)
HSVhsv(267, 77%, 59%)
CMYKcmyk(42%, 77.3%, 0%, 41.2%)
CIE-LABlab(27.77, 47.43, -53.74)
CIE-LCHlch(27.77, 71.68, 311.43°)
OKLaboklab(39.88% 0.0845 -0.1537)
OKLCHoklch(39.88% 0.175 298.8)
XYZxyz(10.0061, 5.3722, 29.3580)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572296 #619622
analogous
#222796 #572296 #912296
triadic
#572296 #965722 #229657
tetradic
#572296 #962227 #619622 #229691
square
#572296 #962227 #619622 #229691
split-complementary
#572296 #969122 #279622
monochromatic
#1D0B32 #3A1764 #572296 #742DC8 #9459D9

Accessibility & contrast

On white

10.12
#572296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#572296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572296
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572296#FFFFFF#000000##FFFFFF
##5722961.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#48415B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572296;
/* rgb */ color: rgb(87, 34, 150);
/* oklch */ color: oklch(39.9% 0.175 298.8);
Tailwind
colors: {
  custom: {
    50: '#8d63b6',
    500: '#572296',
    950: '#000000',
  },
}
SCSS
$custom: #572296;
$custom-light: #8d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572296",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 267.414,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.17537,
    "h": 298.8
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#572296
secondary
#8EBE56
accent
#E6429B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572296

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

Preview Lab → · Contrast checker → · Palette generator →

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