#562B86#562B86

#562B86 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.146 H 301.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#562B86
RGBrgb(86, 43, 134)
HSLhsl(268, 51%, 35%)
HSVhsv(268, 68%, 53%)
CMYKcmyk(35.8%, 67.9%, 0%, 47.5%)
CIE-LABlab(27.92, 38.62, -43.60)
CIE-LCHlch(27.92, 58.25, 311.53°)
OKLaboklab(39.55% 0.0767 -0.124)
OKLCHoklch(39.55% 0.146 301.8)
XYZxyz(9.0037, 5.4274, 23.1229)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B86 #5B862B
analogous
#2B2D86 #562B86 #842B86
triadic
#562B86 #86562B #2B8656
tetradic
#562B86 #862B2D #5B862B #2B8684
square
#562B86 #862B2D #5B862B #2B8684
split-complementary
#562B86 #86842B #2D862B
monochromatic
#1B0D29 #381C58 #562B86 #743AB4 #9360CC

Accessibility & contrast

On white

10.07
#562B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#562B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B86
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B86#FFFFFF#000000##FFFFFF
##562B861.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#024184
Tritanopia (blue-blind)
#4C3F54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562b86;
/* rgb */ color: rgb(86, 43, 134);
/* oklch */ color: oklch(39.5% 0.146 301.8);
Tailwind
colors: {
  custom: {
    50: '#8a67aa',
    500: '#562b86',
    950: '#000000',
  },
}
SCSS
$custom: #562b86;
$custom-light: #8a67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#562b86",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 268.352,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.14579,
    "h": 301.8
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#562B86
secondary
#89B25B
accent
#DB4D98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562B86

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

Preview Lab → · Contrast checker → · Palette generator →

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