#562C80#562C80

#562C80 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 303.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#562C80
RGBrgb(86, 44, 128)
HSLhsl(270, 49%, 34%)
HSVhsv(270, 66%, 50%)
CMYKcmyk(32.8%, 65.6%, 0%, 49.8%)
CIE-LABlab(27.68, 36.50, -40.24)
CIE-LCHlch(27.68, 54.32, 312.21°)
OKLaboklab(39.23% 0.076 -0.1141)
OKLCHoklch(39.23% 0.137 303.7)
XYZxyz(8.6338, 5.3383, 20.9934)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C80 #56802C
analogous
#2C2C80 #562C80 #802C80
triadic
#562C80 #80562C #2C8056
tetradic
#562C80 #802C2C #56802C #2C8080
square
#562C80 #802C2C #56802C #2C8080
split-complementary
#562C80 #80802C #2C802C
monochromatic
#190D25 #371C52 #562C80 #753CAE #935FC8

Accessibility & contrast

On white

10.16
#562C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C80
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C80#FFFFFF#000000##FFFFFF
##562C801.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#13417E
Tritanopia (blue-blind)
#4E3E52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562c80;
/* rgb */ color: rgb(86, 44, 128);
/* oklch */ color: oklch(39.2% 0.137 303.7);
Tailwind
colors: {
  custom: {
    50: '#8968a5',
    500: '#562c80',
    950: '#000000',
  },
}
SCSS
$custom: #562c80;
$custom-light: #8968a5;
$custom-dark: #000000;
JSON
{
  "hex": "#562c80",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 270,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.1371,
    "h": 303.7
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#562C80
secondary
#84AE5A
accent
#D84F94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562C80

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

Preview Lab → · Contrast checker → · Palette generator →

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