#572173#572173

#572173 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.138 H 311.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#572173
RGBrgb(87, 33, 115)
HSLhsl(280, 55%, 29%)
HSVhsv(280, 71%, 45%)
CMYKcmyk(24.3%, 71.3%, 0%, 54.9%)
CIE-LABlab(24.80, 39.24, -36.62)
CIE-LCHlch(24.80, 53.67, 316.98°)
OKLaboklab(36.9% 0.0922 -0.1034)
OKLCHoklch(36.9% 0.138 311.7)
XYZxyz(7.5683, 4.3519, 16.6577)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572173 #3D7321
analogous
#2E2173 #572173 #732166
triadic
#572173 #735721 #217357
tetradic
#572173 #732E21 #3D7321 #216673
square
#572173 #732E21 #3D7321 #216673
split-complementary
#572173 #667321 #21732E
monochromatic
#120718 #331343 #572173 #7B2FA3 #9C45CA

Accessibility & contrast

On white

11.23
#572173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#572173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572173
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572173#FFFFFF#000000##FFFFFF
##5721731.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#543247
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #572173;
/* rgb */ color: rgb(87, 33, 115);
/* oklch */ color: oklch(36.9% 0.138 311.7);
Tailwind
colors: {
  custom: {
    50: '#89619c',
    500: '#572173',
    950: '#000000',
  },
}
SCSS
$custom: #572173;
$custom-light: #89619c;
$custom-dark: #000000;
JSON
{
  "hex": "#572173",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 279.512,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.13849,
    "h": 311.7
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#572173
secondary
#69A649
accent
#DF497C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #572173

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

Preview Lab → · Contrast checker → · Palette generator →

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