#562EBC#562EBC

#562EBC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.205 H 287.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#562EBC
RGBrgb(86, 46, 188)
HSLhsl(257, 61%, 46%)
HSVhsv(257, 76%, 74%)
CMYKcmyk(54.3%, 75.5%, 0%, 26.3%)
CIE-LABlab(33.05, 51.92, -67.95)
CIE-LCHlch(33.05, 85.51, 307.38°)
OKLaboklab(44.61% 0.0629 -0.1955)
OKLCHoklch(44.61% 0.205 287.8)
XYZxyz(13.8892, 7.5626, 48.2951)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EBC #94BC2E
analogous
#2E4DBC #562EBC #9D2EBC
triadic
#562EBC #BC562E #2EBC56
tetradic
#562EBC #BC2E4D #94BC2E #2EBC9D
square
#562EBC #BC2E4D #94BC2E #2EBC9D
split-complementary
#562EBC #BC9D2E #4DBC2E
monochromatic
#29165A #40228B #562EBC #7752D5 #9E84E1

Accessibility & contrast

On white

8.36
#562EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#562EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EBC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EBC#FFFFFF#000000##FFFFFF
##562EBC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#2C5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562ebc;
/* rgb */ color: rgb(86, 46, 188);
/* oklch */ color: oklch(44.6% 0.205 287.8);
Tailwind
colors: {
  custom: {
    50: '#906bd1',
    500: '#562ebc',
    950: '#000000',
  },
}
SCSS
$custom: #562ebc;
$custom-light: #906bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#562ebc",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 256.901,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.20533,
    "h": 287.8
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#562EBC
secondary
#B4CA7C
accent
#E444B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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