#562173#562173

#562173 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.138 H 311.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#562173
RGBrgb(86, 33, 115)
HSLhsl(279, 55%, 29%)
HSVhsv(279, 71%, 45%)
CMYKcmyk(25.2%, 71.3%, 0%, 54.9%)
CIE-LABlab(24.65, 39.00, -36.87)
CIE-LCHlch(24.65, 53.67, 316.61°)
OKLaboklab(36.76% 0.0908 -0.1041)
OKLCHoklch(36.76% 0.138 311.1)
XYZxyz(7.4755, 4.3041, 16.6533)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562173 #3E7321
analogous
#2D2173 #562173 #732167
triadic
#562173 #735621 #217356
tetradic
#562173 #732D21 #3E7321 #216773
square
#562173 #732D21 #3E7321 #216773
split-complementary
#562173 #677321 #21732D
monochromatic
#120718 #321343 #562173 #7A2FA3 #9B45CA

Accessibility & contrast

On white

11.29
#562173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#562173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562173
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562173#FFFFFF#000000##FFFFFF
##5621731.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#163B71
Tritanopia (blue-blind)
#523247
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562173;
/* rgb */ color: rgb(86, 33, 115);
/* oklch */ color: oklch(36.8% 0.138 311.1);
Tailwind
colors: {
  custom: {
    50: '#89619c',
    500: '#562173',
    950: '#000000',
  },
}
SCSS
$custom: #562173;
$custom-light: #89619c;
$custom-dark: #000000;
JSON
{
  "hex": "#562173",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 278.78,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.13813,
    "h": 311.1
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#562173
secondary
#6AA649
accent
#DF497E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562173

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

Preview Lab → · Contrast checker → · Palette generator →

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