#572086#572086

#572086 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.160 H 304.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#572086
RGBrgb(87, 32, 134)
HSLhsl(272, 61%, 33%)
HSVhsv(272, 76%, 53%)
CMYKcmyk(35.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(26.10, 44.29, -46.54)
CIE-LCHlch(26.10, 64.25, 313.58°)
OKLaboklab(38.28% 0.0902 -0.1325)
OKLCHoklch(38.28% 0.16 304.2)
XYZxyz(8.7491, 4.7805, 23.0114)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572086 #4F8620
analogous
#242086 #572086 #862082
triadic
#572086 #865720 #208657
tetradic
#572086 #862420 #4F8620 #208286
square
#572086 #862420 #4F8620 #208286
split-complementary
#572086 #828620 #208624
monochromatic
#170823 #371455 #572086 #772CB7 #964CD4

Accessibility & contrast

On white

10.74
#572086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#572086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572086
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572086#FFFFFF#000000##FFFFFF
##5720861.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#4E3951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572086;
/* rgb */ color: rgb(87, 32, 134);
/* oklch */ color: oklch(38.3% 0.160 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b61aa',
    500: '#572086',
    950: '#000000',
  },
}
SCSS
$custom: #572086;
$custom-light: #8b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572086",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 272.353,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.16032,
    "h": 304.2
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#572086
secondary
#7DB74B
accent
#E5438E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572086

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

Preview Lab → · Contrast checker → · Palette generator →

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