#562CAF#562CAF

#562CAF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.193 H 290.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#562CAF
RGBrgb(86, 44, 175)
HSLhsl(259, 60%, 43%)
HSVhsv(259, 75%, 69%)
CMYKcmyk(50.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(31.52, 49.27, -62.75)
CIE-LCHlch(31.52, 79.78, 308.14°)
OKLaboklab(43.17% 0.0678 -0.1802)
OKLCHoklch(43.17% 0.193 290.6)
XYZxyz(12.4741, 6.8744, 41.2188)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CAF #85AF2C
analogous
#2C43AF #562CAF #972CAF
triadic
#562CAF #AF562C #2CAF56
tetradic
#562CAF #AF2C43 #85AF2C #2CAF97
square
#562CAF #AF2C43 #85AF2C #2CAF97
split-complementary
#562CAF #AF972C #43AF2C
monochromatic
#26134D #3E207E #562CAF #7347D1 #9978DD

Accessibility & contrast

On white

8.84
#562CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562CAF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CAF#FFFFFF#000000##FFFFFF
##562CAF1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#37506B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562caf;
/* rgb */ color: rgb(86, 44, 175);
/* oklch */ color: oklch(43.2% 0.193 290.6);
Tailwind
colors: {
  custom: {
    50: '#8f6ac8',
    500: '#562caf',
    950: '#000000',
  },
}
SCSS
$custom: #562caf;
$custom-light: #8f6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#562caf",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 259.237,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.19257,
    "h": 290.6
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#562CAF
secondary
#AAC572
accent
#E345B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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