#572096#572096

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

Color values

HEX#572096
RGBrgb(87, 32, 150)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(42%, 78.7%, 0%, 41.2%)
CIE-LABlab(27.47, 48.30, -54.24)
CIE-LCHlch(27.47, 72.63, 311.69°)
OKLaboklab(39.66% 0.0862 -0.1551)
OKLCHoklch(39.66% 0.177 299.1)
XYZxyz(9.9506, 5.2611, 29.3395)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572096 #5F9620
analogous
#202496 #572096 #922096
triadic
#572096 #965720 #209657
tetradic
#572096 #962024 #5F9620 #209692
square
#572096 #962024 #5F9620 #209692
split-complementary
#572096 #969220 #249620
monochromatic
#1C0A31 #3A1564 #572096 #742BC8 #9456DB

Accessibility & contrast

On white

10.23
#572096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572096
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572096#FFFFFF#000000##FFFFFF
##5720961.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#48405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572096;
/* rgb */ color: rgb(87, 32, 150);
/* oklch */ color: oklch(39.7% 0.177 299.1);
Tailwind
colors: {
  custom: {
    50: '#8d62b6',
    500: '#572096',
    950: '#000000',
  },
}
SCSS
$custom: #572096;
$custom-light: #8d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572096",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 267.966,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.17747,
    "h": 299.1
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#572096
secondary
#8DBE53
accent
#E8409A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572096

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

Preview Lab → · Contrast checker → · Palette generator →

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