#562CAC#562CAC

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

Color values

HEX#562CAC
RGBrgb(86, 44, 172)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(50%, 74.4%, 0%, 32.5%)
CIE-LABlab(31.25, 48.44, -61.40)
CIE-LCHlch(31.25, 78.20, 308.27°)
OKLaboklab(42.9% 0.0686 -0.1763)
OKLCHoklch(42.9% 0.189 291.3)
XYZxyz(12.1827, 6.7579, 39.6842)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CAC #82AC2C
analogous
#2C42AC #562CAC #962CAC
triadic
#562CAC #AC562C #2CAC56
tetradic
#562CAC #AC2C42 #82AC2C #2CAC96
square
#562CAC #AC2C42 #82AC2C #2CAC96
split-complementary
#562CAC #AC962C #42AC2C
monochromatic
#25134B #3E207B #562CAC #7346D0 #9876DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##562CAC#FFFFFF#000000##FFFFFF
##562CAC1.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)
#004CB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#394E6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562cac;
/* rgb */ color: rgb(86, 44, 172);
/* oklch */ color: oklch(42.9% 0.189 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e69c6',
    500: '#562cac',
    950: '#000000',
  },
}
SCSS
$custom: #562cac;
$custom-light: #8e69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#562cac",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 259.688,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.18914,
    "h": 291.3
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#562CAC
secondary
#A8C470
accent
#E245AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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