#562EB0#562EB0

#562EB0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.192 H 290.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#562EB0
RGBrgb(86, 46, 176)
HSLhsl(258, 59%, 44%)
HSVhsv(258, 74%, 69%)
CMYKcmyk(51.1%, 73.9%, 0%, 31%)
CIE-LABlab(31.96, 48.56, -62.63)
CIE-LCHlch(31.96, 79.25, 307.79°)
OKLaboklab(43.51% 0.0659 -0.1799)
OKLCHoklch(43.51% 0.192 290.1)
XYZxyz(12.6490, 7.0665, 41.7634)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EB0 #88B02E
analogous
#2E47B0 #562EB0 #972EB0
triadic
#562EB0 #B0562E #2EB056
tetradic
#562EB0 #B02E47 #88B02E #2EB097
square
#562EB0 #B02E47 #88B02E #2EB097
split-complementary
#562EB0 #B0972E #47B02E
monochromatic
#27154F #3E217F #562EB0 #744BD0 #9A7CDD

Accessibility & contrast

On white

8.70
#562EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#562EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EB0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EB0#FFFFFF#000000##FFFFFF
##562EB01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#36516C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562eb0;
/* rgb */ color: rgb(86, 46, 176);
/* oklch */ color: oklch(43.5% 0.192 290.1);
Tailwind
colors: {
  custom: {
    50: '#8f6bc9',
    500: '#562eb0',
    950: '#000000',
  },
}
SCSS
$custom: #562eb0;
$custom-light: #8f6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#562eb0",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 258.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.19158,
    "h": 290.1
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#562EB0
secondary
#ACC575
accent
#E246B2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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