#562C7C#562C7C

#562C7C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.132 H 305.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#562C7C
RGBrgb(86, 44, 124)
HSLhsl(272, 48%, 33%)
HSVhsv(272, 65%, 49%)
CMYKcmyk(30.6%, 64.5%, 0%, 51.4%)
CIE-LABlab(27.39, 35.46, -38.17)
CIE-LCHlch(27.39, 52.10, 312.89°)
OKLaboklab(38.94% 0.0763 -0.108)
OKLCHoklch(38.94% 0.132 305.2)
XYZxyz(8.3757, 5.2351, 19.6341)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C7C #527C2C
analogous
#2E2C7C #562C7C #7C2C7A
triadic
#562C7C #7C562C #2C7C56
tetradic
#562C7C #7C2E2C #527C2C #2C7A7C
square
#562C7C #7C2E2C #527C2C #2C7A7C
split-complementary
#562C7C #7A7C2C #2C7C2E
monochromatic
#170C22 #371C4F #562C7C #753CA9 #945DC5

Accessibility & contrast

On white

10.26
#562C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#562C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C7C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C7C#FFFFFF#000000##FFFFFF
##562C7C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#4F3C4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562c7c;
/* rgb */ color: rgb(86, 44, 124);
/* oklch */ color: oklch(38.9% 0.132 305.2);
Tailwind
colors: {
  custom: {
    50: '#8968a2',
    500: '#562c7c',
    950: '#000000',
  },
}
SCSS
$custom: #562c7c;
$custom-light: #8968a2;
$custom-dark: #000000;
JSON
{
  "hex": "#562c7c",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 271.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.13225,
    "h": 305.2
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#562C7C
secondary
#80AC58
accent
#D75191
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562C7C

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

Preview Lab → · Contrast checker → · Palette generator →

#562C7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva