#562CA4#562CA4

#562CA4 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.180 H 293.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#562CA4
RGBrgb(86, 44, 164)
HSLhsl(261, 58%, 41%)
HSVhsv(261, 73%, 64%)
CMYKcmyk(47.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(30.54, 46.23, -57.74)
CIE-LCHlch(30.54, 73.97, 308.68°)
OKLaboklab(42.18% 0.0705 -0.1655)
OKLCHoklch(42.18% 0.18 293.1)
XYZxyz(11.4374, 6.4598, 35.7590)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA4 #7AA42C
analogous
#2C3EA4 #562CA4 #922CA4
triadic
#562CA4 #A4562C #2CA456
tetradic
#562CA4 #A42C3E #7AA42C #2CA492
square
#562CA4 #A42C3E #7AA42C #2CA492
split-complementary
#562CA4 #A4922C #3EA42C
monochromatic
#231243 #3D1F74 #562CA4 #7241CC #9671D9

Accessibility & contrast

On white

9.16
#562CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#562CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA4#FFFFFF#000000##FFFFFF
##562CA41.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#3E4B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ca4;
/* rgb */ color: rgb(86, 44, 164);
/* oklch */ color: oklch(42.2% 0.180 293.1);
Tailwind
colors: {
  custom: {
    50: '#8d69c0',
    500: '#562ca4',
    950: '#000000',
  },
}
SCSS
$custom: #562ca4;
$custom-light: #8d69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca4",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 261,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.1799,
    "h": 293.1
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#562CA4
secondary
#A3C06B
accent
#E147AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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