#562EAC#562EAC

#562EAC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.187 H 291.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#562EAC
RGBrgb(86, 46, 172)
HSLhsl(259, 58%, 43%)
HSVhsv(259, 73%, 67%)
CMYKcmyk(50%, 73.3%, 0%, 32.5%)
CIE-LABlab(31.60, 47.44, -60.82)
CIE-LCHlch(31.60, 77.13, 307.96°)
OKLaboklab(43.15% 0.0669 -0.1746)
OKLCHoklch(43.15% 0.187 291)
XYZxyz(12.2590, 6.9105, 39.7097)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EAC #84AC2E
analogous
#2E45AC #562EAC #952EAC
triadic
#562EAC #AC562E #2EAC56
tetradic
#562EAC #AC2E45 #84AC2E #2EAC95
square
#562EAC #AC2E45 #84AC2E #2EAC95
split-complementary
#562EAC #AC952E #45AC2E
monochromatic
#26144B #3E217C #562EAC #7349CE #9879DB

Accessibility & contrast

On white

8.82
#562EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#562EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EAC
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EAC#FFFFFF#000000##FFFFFF
##562EAC1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#394F6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562eac;
/* rgb */ color: rgb(86, 46, 172);
/* oklch */ color: oklch(43.1% 0.187 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e6bc6',
    500: '#562eac',
    950: '#000000',
  },
}
SCSS
$custom: #562eac;
$custom-light: #8e6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#562eac",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 259.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.18694,
    "h": 291
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#562EAC
secondary
#AAC372
accent
#E147B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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