#562EA3#562EA3

#562EA3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.176 H 293.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#562EA3
RGBrgb(86, 46, 163)
HSLhsl(261, 56%, 41%)
HSVhsv(261, 72%, 64%)
CMYKcmyk(47.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(30.82, 44.93, -56.68)
CIE-LCHlch(30.82, 72.33, 308.40°)
OKLaboklab(42.35% 0.0688 -0.1624)
OKLCHoklch(42.35% 0.176 293)
XYZxyz(11.4238, 6.5764, 35.3107)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EA3 #7BA32E
analogous
#2E40A3 #562EA3 #902EA3
triadic
#562EA3 #A3562E #2EA356
tetradic
#562EA3 #A32E40 #7BA32E #2EA390
square
#562EA3 #A32E40 #7BA32E #2EA390
split-complementary
#562EA3 #A3902E #40A32E
monochromatic
#241344 #3D2173 #562EA3 #7244CA #9674D8

Accessibility & contrast

On white

9.07
#562EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#562EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EA3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EA3#FFFFFF#000000##FFFFFF
##562EA31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#3F4C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562ea3;
/* rgb */ color: rgb(86, 46, 163);
/* oklch */ color: oklch(42.4% 0.176 293.0);
Tailwind
colors: {
  custom: {
    50: '#8d6abf',
    500: '#562ea3',
    950: '#000000',
  },
}
SCSS
$custom: #562ea3;
$custom-light: #8d6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#562ea3",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 260.513,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.17639,
    "h": 293
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#562EA3
secondary
#A3BF6D
accent
#DF49AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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