#562CA2#562CA2

#562CA2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.178 H 293.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#562CA2
RGBrgb(86, 44, 162)
HSLhsl(261, 57%, 40%)
HSVhsv(261, 73%, 64%)
CMYKcmyk(46.9%, 72.8%, 0%, 36.5%)
CIE-LABlab(30.37, 45.68, -56.81)
CIE-LCHlch(30.37, 72.90, 308.80°)
OKLaboklab(42.01% 0.0709 -0.1628)
OKLCHoklch(42.01% 0.178 293.5)
XYZxyz(11.2582, 6.3881, 34.8153)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA2 #78A22C
analogous
#2C3DA2 #562CA2 #912CA2
triadic
#562CA2 #A2562C #2CA256
tetradic
#562CA2 #A22C3D #78A22C #2CA291
square
#562CA2 #A22C3D #78A22C #2CA291
split-complementary
#562CA2 #A2912C #3DA22C
monochromatic
#231242 #3C1F72 #562CA2 #7240CB #9570D8

Accessibility & contrast

On white

9.22
#562CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#562CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA2#FFFFFF#000000##FFFFFF
##562CA21.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#3F4B64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562ca2;
/* rgb */ color: rgb(86, 44, 162);
/* oklch */ color: oklch(42.0% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d69be',
    500: '#562ca2',
    950: '#000000',
  },
}
SCSS
$custom: #562ca2;
$custom-light: #8d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca2",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 261.356,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.17757,
    "h": 293.5
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#562CA2
secondary
#A1BF6A
accent
#E147AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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