#562CAA#562CAA

#562CAA is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.187 H 291.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#562CAA
RGBrgb(86, 44, 170)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(49.4%, 74.1%, 0%, 33.3%)
CIE-LABlab(31.07, 47.89, -60.49)
CIE-LCHlch(31.07, 77.15, 308.37°)
OKLaboklab(42.72% 0.0691 -0.1736)
OKLCHoklch(42.72% 0.187 291.7)
XYZxyz(11.9921, 6.6816, 38.6802)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CAA #80AA2C
analogous
#2C41AA #562CAA #952CAA
triadic
#562CAA #AA562C #2CAA56
tetradic
#562CAA #AA2C41 #80AA2C #2CAA95
square
#562CAA #AA2C41 #80AA2C #2CAA95
split-complementary
#562CAA #AA952C #41AA2C
monochromatic
#251349 #3D1F79 #562CAA #7344CF #9775DB

Accessibility & contrast

On white

8.99
#562CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#562CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CAA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CAA#FFFFFF#000000##FFFFFF
##562CAA1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#3B4E69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562caa;
/* rgb */ color: rgb(86, 44, 170);
/* oklch */ color: oklch(42.7% 0.187 291.7);
Tailwind
colors: {
  custom: {
    50: '#8e69c4',
    500: '#562caa',
    950: '#000000',
  },
}
SCSS
$custom: #562caa;
$custom-light: #8e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#562caa",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 260,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.18683,
    "h": 291.7
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#562CAA
secondary
#A7C36F
accent
#E246AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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