#562AAF#562AAF

#562AAF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.195 H 290.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#562AAF
RGBrgb(86, 42, 175)
HSLhsl(260, 61%, 43%)
HSVhsv(260, 76%, 69%)
CMYKcmyk(50.9%, 76%, 0%, 31.4%)
CIE-LABlab(31.18, 50.23, -63.30)
CIE-LCHlch(31.18, 80.81, 308.43°)
OKLaboklab(42.93% 0.0695 -0.1818)
OKLCHoklch(42.93% 0.195 290.9)
XYZxyz(12.4014, 6.7290, 41.1945)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AAF #83AF2A
analogous
#2A40AF #562AAF #992AAF
triadic
#562AAF #AF562A #2AAF56
tetradic
#562AAF #AF2A40 #83AF2A #2AAF99
square
#562AAF #AF2A40 #83AF2A #2AAF99
split-complementary
#562AAF #AF992A #40AF2A
monochromatic
#25124C #3E1E7E #562AAF #7344D2 #9875DE

Accessibility & contrast

On white

8.95
#562AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562AAF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AAF#FFFFFF#000000##FFFFFF
##562AAF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#374F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562aaf;
/* rgb */ color: rgb(86, 42, 175);
/* oklch */ color: oklch(42.9% 0.195 290.9);
Tailwind
colors: {
  custom: {
    50: '#8f68c8',
    500: '#562aaf',
    950: '#000000',
  },
}
SCSS
$custom: #562aaf;
$custom-light: #8f68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#562aaf",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 259.85,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.19465,
    "h": 290.9
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#562AAF
secondary
#A9C66F
accent
#E443AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #562AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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