#562EA7#562EA7

#562EA7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.181 H 292.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#562EA7
RGBrgb(86, 46, 167)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(48.5%, 72.5%, 0%, 34.5%)
CIE-LABlab(31.17, 46.05, -58.53)
CIE-LCHlch(31.17, 74.47, 308.19°)
OKLaboklab(42.7% 0.068 -0.1679)
OKLCHoklch(42.7% 0.181 292)
XYZxyz(11.7878, 6.7220, 37.2281)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EA7 #7FA72E
analogous
#2E42A7 #562EA7 #932EA7
triadic
#562EA7 #A7562E #2EA756
tetradic
#562EA7 #A72E42 #7FA72E #2EA793
square
#562EA7 #A72E42 #7FA72E #2EA793
split-complementary
#562EA7 #A7932E #42A72E
monochromatic
#251447 #3D2177 #562EA7 #7246CC #9776D9

Accessibility & contrast

On white

8.96
#562EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#562EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EA7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EA7#FFFFFF#000000##FFFFFF
##562EA71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#3C4D67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562ea7;
/* rgb */ color: rgb(86, 46, 167);
/* oklch */ color: oklch(42.7% 0.181 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ac2',
    500: '#562ea7',
    950: '#000000',
  },
}
SCSS
$custom: #562ea7;
$custom-light: #8d6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#562ea7",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 259.835,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42702,
    "c": 0.1811,
    "h": 292
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#562EA7
secondary
#A6C170
accent
#E048AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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