#562CA0#562CA0

#562CA0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.175 H 294.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#562CA0
RGBrgb(86, 44, 160)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 73%, 63%)
CMYKcmyk(46.3%, 72.5%, 0%, 37.3%)
CIE-LABlab(30.20, 45.13, -55.88)
CIE-LCHlch(30.20, 71.83, 308.92°)
OKLaboklab(41.83% 0.0713 -0.1601)
OKLCHoklch(41.83% 0.175 294)
XYZxyz(11.0819, 6.3175, 33.8864)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA0 #76A02C
analogous
#2C3CA0 #562CA0 #902CA0
triadic
#562CA0 #A0562C #2CA056
tetradic
#562CA0 #A02C3C #76A02C #2CA090
square
#562CA0 #A02C3C #76A02C #2CA090
split-complementary
#562CA0 #A0902C #3CA02C
monochromatic
#221240 #3C1F70 #562CA0 #713FCA #956FD7

Accessibility & contrast

On white

9.28
#562CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#562CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA0
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA0#FFFFFF#000000##FFFFFF
##562CA01.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#404A63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562ca0;
/* rgb */ color: rgb(86, 44, 160);
/* oklch */ color: oklch(41.8% 0.175 294.0);
Tailwind
colors: {
  custom: {
    50: '#8d69bd',
    500: '#562ca0',
    950: '#000000',
  },
}
SCSS
$custom: #562ca0;
$custom-light: #8d69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca0",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 261.724,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.17525,
    "h": 294
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#562CA0
secondary
#A0BF69
accent
#E048A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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