#562BAE#562BAE

#562BAE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.192 H 291.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#562BAE
RGBrgb(86, 43, 174)
HSLhsl(260, 60%, 43%)
HSVhsv(260, 75%, 68%)
CMYKcmyk(50.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(31.26, 49.48, -62.58)
CIE-LCHlch(31.26, 79.78, 308.33°)
OKLaboklab(42.96% 0.0689 -0.1797)
OKLCHoklch(42.96% 0.192 291)
XYZxyz(12.3394, 6.7617, 40.6912)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BAE #83AE2B
analogous
#2B41AE #562BAE #982BAE
triadic
#562BAE #AE562B #2BAE56
tetradic
#562BAE #AE2B41 #83AE2B #2BAE98
square
#562BAE #AE2B41 #83AE2B #2BAE98
split-complementary
#562BAE #AE982B #41AE2B
monochromatic
#25134C #3E1F7D #562BAE #7345D1 #9876DD

Accessibility & contrast

On white

8.93
#562BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#562BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BAE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BAE#FFFFFF#000000##FFFFFF
##562BAE1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#384F6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562bae;
/* rgb */ color: rgb(86, 43, 174);
/* oklch */ color: oklch(43.0% 0.192 291.0);
Tailwind
colors: {
  custom: {
    50: '#8f69c7',
    500: '#562bae',
    950: '#000000',
  },
}
SCSS
$custom: #562bae;
$custom-light: #8f69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#562bae",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 259.695,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42958,
    "c": 0.19248,
    "h": 291
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#562BAE
secondary
#A9C570
accent
#E444AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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