#562B80#562B80

#562B80 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.139 H 303.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#562B80
RGBrgb(86, 43, 128)
HSLhsl(270, 50%, 34%)
HSVhsv(270, 66%, 50%)
CMYKcmyk(32.8%, 66.4%, 0%, 49.8%)
CIE-LABlab(27.48, 37.05, -40.56)
CIE-LCHlch(27.48, 54.93, 312.41°)
OKLaboklab(39.09% 0.0773 -0.115)
OKLCHoklch(39.09% 0.139 303.9)
XYZxyz(8.5970, 5.2647, 20.9812)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B80 #55802B
analogous
#2B2B80 #562B80 #802B7F
triadic
#562B80 #80562B #2B8056
tetradic
#562B80 #802B2B #55802B #2B7F80
square
#562B80 #802B2B #55802B #2B7F80
split-complementary
#562B80 #7F802B #2B802B
monochromatic
#180C24 #371C52 #562B80 #753AAE #935DC9

Accessibility & contrast

On white

10.23
#562B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B80
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B80#FFFFFF#000000##FFFFFF
##562B801.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562b80;
/* rgb */ color: rgb(86, 43, 128);
/* oklch */ color: oklch(39.1% 0.139 303.9);
Tailwind
colors: {
  custom: {
    50: '#8967a5',
    500: '#562b80',
    950: '#000000',
  },
}
SCSS
$custom: #562b80;
$custom-light: #8967a5;
$custom-dark: #000000;
JSON
{
  "hex": "#562b80",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 270.353,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.13859,
    "h": 303.9
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#562B80
secondary
#83AE58
accent
#D94F93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562B80

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

Preview Lab → · Contrast checker → · Palette generator →

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