#562E80#562E80

#562E80 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.134 H 303.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#562E80
RGBrgb(86, 46, 128)
HSLhsl(269, 47%, 34%)
HSVhsv(269, 64%, 50%)
CMYKcmyk(32.8%, 64.1%, 0%, 49.8%)
CIE-LABlab(28.09, 35.38, -39.57)
CIE-LCHlch(28.09, 53.08, 311.80°)
OKLaboklab(39.53% 0.0735 -0.1121)
OKLCHoklch(39.53% 0.134 303.2)
XYZxyz(8.7101, 5.4909, 21.0189)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E80 #58802E
analogous
#2E2F80 #562E80 #7F2E80
triadic
#562E80 #80562E #2E8056
tetradic
#562E80 #802E2F #58802E #2E807F
square
#562E80 #802E2F #58802E #2E807F
split-complementary
#562E80 #807F2E #2F802E
monochromatic
#1A0E26 #381E53 #562E80 #743EAD #9362C7

Accessibility & contrast

On white

10.01
#562E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#562E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E80
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E80#FFFFFF#000000##FFFFFF
##562E801.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#4E3F52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562e80;
/* rgb */ color: rgb(86, 46, 128);
/* oklch */ color: oklch(39.5% 0.134 303.2);
Tailwind
colors: {
  custom: {
    50: '#8969a5',
    500: '#562e80',
    950: '#000000',
  },
}
SCSS
$custom: #562e80;
$custom-light: #8969a5;
$custom-dark: #000000;
JSON
{
  "hex": "#562e80",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 269.268,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.13408,
    "h": 303.2
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#562E80
secondary
#86AD5D
accent
#D75196
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562E80

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

Preview Lab → · Contrast checker → · Palette generator →

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