#562EBA#562EBA

#562EBA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.203 H 288.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#562EBA
RGBrgb(86, 46, 186)
HSLhsl(257, 60%, 45%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53.8%, 75.3%, 0%, 27.1%)
CIE-LABlab(32.87, 51.36, -67.07)
CIE-LCHlch(32.87, 84.48, 307.44°)
OKLaboklab(44.43% 0.0634 -0.1929)
OKLCHoklch(44.43% 0.203 288.2)
XYZxyz(13.6751, 7.4769, 47.1675)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EBA #92BA2E
analogous
#2E4CBA #562EBA #9C2EBA
triadic
#562EBA #BA562E #2EBA56
tetradic
#562EBA #BA2E4C #92BA2E #2EBA9C
square
#562EBA #BA2E4C #92BA2E #2EBA9C
split-complementary
#562EBA #BA9C2E #4CBA2E
monochromatic
#291658 #3F2289 #562EBA #7751D4 #9D82E0

Accessibility & contrast

On white

8.41
#562EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#562EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EBA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EBA#FFFFFF#000000##FFFFFF
##562EBA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#2E5572
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562eba;
/* rgb */ color: rgb(86, 46, 186);
/* oklch */ color: oklch(44.4% 0.203 288.2);
Tailwind
colors: {
  custom: {
    50: '#906bd0',
    500: '#562eba',
    950: '#000000',
  },
}
SCSS
$custom: #562eba;
$custom-light: #906bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#562eba",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 257.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.20306,
    "h": 288.2
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#562EBA
secondary
#B3C97B
accent
#E344B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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