#562080#562080

#562080 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.154 H 305.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#562080
RGBrgb(86, 32, 128)
HSLhsl(274, 60%, 31%)
HSVhsv(274, 75%, 50%)
CMYKcmyk(32.8%, 75%, 0%, 49.8%)
CIE-LABlab(25.47, 42.62, -43.80)
CIE-LCHlch(25.47, 61.11, 314.21°)
OKLaboklab(37.66% 0.09 -0.1245)
OKLCHoklch(37.66% 0.154 305.8)
XYZxyz(8.2497, 4.5700, 20.8654)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562080 #4A8020
analogous
#262080 #562080 #80207A
triadic
#562080 #805620 #208056
tetradic
#562080 #802620 #4A8020 #207A80
square
#562080 #802620 #4A8020 #207A80
split-complementary
#562080 #7A8020 #208026
monochromatic
#14081E #35144F #562080 #772CB1 #9649D1

Accessibility & contrast

On white

10.97
#562080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#562080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562080
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562080#FFFFFF#000000##FFFFFF
##5620801.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#4E374E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562080;
/* rgb */ color: rgb(86, 32, 128);
/* oklch */ color: oklch(37.7% 0.154 305.8);
Tailwind
colors: {
  custom: {
    50: '#8a61a6',
    500: '#562080',
    950: '#000000',
  },
}
SCSS
$custom: #562080;
$custom-light: #8a61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#562080",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 273.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.15359,
    "h": 305.8
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#562080
secondary
#77B349
accent
#E3458A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #562080

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

Preview Lab → · Contrast checker → · Palette generator →

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