#562EA0#562EA0

#562EA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.173 H 293.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#562EA0
RGBrgb(86, 46, 160)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 63%)
CMYKcmyk(46.3%, 71.2%, 0%, 37.3%)
CIE-LABlab(30.57, 44.10, -55.28)
CIE-LCHlch(30.57, 70.71, 308.58°)
OKLaboklab(42.09% 0.0694 -0.1583)
OKLCHoklch(42.09% 0.173 293.7)
XYZxyz(11.1582, 6.4702, 33.9118)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EA0 #78A02E
analogous
#2E3FA0 #562EA0 #8F2EA0
triadic
#562EA0 #A0562E #2EA056
tetradic
#562EA0 #A02E3F #78A02E #2EA08F
square
#562EA0 #A02E3F #78A02E #2EA08F
split-complementary
#562EA0 #A08F2E #3FA02E
monochromatic
#231341 #3C2070 #562EA0 #7242C9 #9572D6

Accessibility & contrast

On white

9.15
#562EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562EA0
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EA0#FFFFFF#000000##FFFFFF
##562EA01.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#404B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ea0;
/* rgb */ color: rgb(86, 46, 160);
/* oklch */ color: oklch(42.1% 0.173 293.7);
Tailwind
colors: {
  custom: {
    50: '#8c6abd',
    500: '#562ea0',
    950: '#000000',
  },
}
SCSS
$custom: #562ea0;
$custom-light: #8c6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#562ea0",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 261.053,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.17285,
    "h": 293.7
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#562EA0
secondary
#A1BE6C
accent
#DF49AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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