#572273#572273

#572273 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.137 H 311.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#572273
RGBrgb(87, 34, 115)
HSLhsl(279, 54%, 29%)
HSVhsv(279, 70%, 45%)
CMYKcmyk(24.3%, 70.4%, 0%, 54.9%)
CIE-LABlab(24.98, 38.75, -36.34)
CIE-LCHlch(24.98, 53.12, 316.84°)
OKLaboklab(37.02% 0.091 -0.1025)
OKLCHoklch(37.02% 0.137 311.6)
XYZxyz(7.5964, 4.4083, 16.6670)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572273 #3E7322
analogous
#2F2273 #572273 #732267
triadic
#572273 #735722 #227357
tetradic
#572273 #732F22 #3E7322 #226773
square
#572273 #732F22 #3E7322 #226773
split-complementary
#572273 #677322 #22732F
monochromatic
#120718 #331444 #572273 #7B30A2 #9C47C9

Accessibility & contrast

On white

11.16
#572273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#572273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572273
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572273#FFFFFF#000000##FFFFFF
##5722731.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#543347
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #572273;
/* rgb */ color: rgb(87, 34, 115);
/* oklch */ color: oklch(37.0% 0.137 311.6);
Tailwind
colors: {
  custom: {
    50: '#89629c',
    500: '#572273',
    950: '#000000',
  },
}
SCSS
$custom: #572273;
$custom-light: #89629c;
$custom-dark: #000000;
JSON
{
  "hex": "#572273",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 279.259,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37022,
    "c": 0.13708,
    "h": 311.6
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#572273
secondary
#6AA64B
accent
#DE4A7D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #572273

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

Preview Lab → · Contrast checker → · Palette generator →

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