#562AB0#562AB0

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

Color values

HEX#562AB0
RGBrgb(86, 42, 176)
HSLhsl(260, 61%, 43%)
HSVhsv(260, 76%, 69%)
CMYKcmyk(51.1%, 76.1%, 0%, 31%)
CIE-LABlab(31.27, 50.50, -63.75)
CIE-LCHlch(31.27, 81.33, 308.39°)
OKLaboklab(43.03% 0.0692 -0.1831)
OKLCHoklch(43.03% 0.196 290.7)
XYZxyz(12.4999, 6.7684, 41.7137)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AB0 #84B02A
analogous
#2A41B0 #562AB0 #992AB0
triadic
#562AB0 #B0562A #2AB056
tetradic
#562AB0 #B02A41 #84B02A #2AB099
square
#562AB0 #B02A41 #84B02A #2AB099
split-complementary
#562AB0 #B0992A #41B02A
monochromatic
#26124D #3E1E7F #562AB0 #7345D3 #9876DE

Accessibility & contrast

On white

8.92
#562AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562AB0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AB0#FFFFFF#000000##FFFFFF
##562AB01.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#364F6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562ab0;
/* rgb */ color: rgb(86, 42, 176);
/* oklch */ color: oklch(43.0% 0.196 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f69c9',
    500: '#562ab0',
    950: '#000000',
  },
}
SCSS
$custom: #562ab0;
$custom-light: #8f69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#562ab0",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 259.701,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.19578,
    "h": 290.7
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#562AB0
secondary
#AAC670
accent
#E543B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #562AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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