#562273#562273

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

Color values

HEX#562273
RGBrgb(86, 34, 115)
HSLhsl(279, 54%, 29%)
HSVhsv(279, 70%, 45%)
CMYKcmyk(25.2%, 70.4%, 0%, 54.9%)
CIE-LABlab(24.83, 38.51, -36.58)
CIE-LCHlch(24.83, 53.11, 316.47°)
OKLaboklab(36.88% 0.0896 -0.1033)
OKLCHoklch(36.88% 0.137 310.9)
XYZxyz(7.5037, 4.3605, 16.6627)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562273 #3F7322
analogous
#2E2273 #562273 #732268
triadic
#562273 #735622 #227356
tetradic
#562273 #732E22 #3F7322 #226873
square
#562273 #732E22 #3F7322 #226873
split-complementary
#562273 #687322 #22732E
monochromatic
#120718 #331444 #562273 #7930A2 #9A47C9

Accessibility & contrast

On white

11.22
#562273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562273
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562273#FFFFFF#000000##FFFFFF
##5622731.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562273;
/* rgb */ color: rgb(86, 34, 115);
/* oklch */ color: oklch(36.9% 0.137 310.9);
Tailwind
colors: {
  custom: {
    50: '#89619c',
    500: '#562273',
    950: '#000000',
  },
}
SCSS
$custom: #562273;
$custom-light: #89619c;
$custom-dark: #000000;
JSON
{
  "hex": "#562273",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 278.519,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36884,
    "c": 0.13671,
    "h": 310.9
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#562273
secondary
#6BA64B
accent
#DE4A7F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562273

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

Preview Lab → · Contrast checker → · Palette generator →

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