#562EB3#562EB3

#562EB3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.195 H 289.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#562EB3
RGBrgb(86, 46, 179)
HSLhsl(258, 59%, 44%)
HSVhsv(258, 74%, 70%)
CMYKcmyk(52%, 74.3%, 0%, 29.8%)
CIE-LABlab(32.23, 49.40, -63.97)
CIE-LCHlch(32.23, 80.83, 307.68°)
OKLaboklab(43.78% 0.0652 -0.1838)
OKLCHoklch(43.78% 0.195 289.5)
XYZxyz(12.9491, 7.1865, 43.3439)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EB3 #8BB32E
analogous
#2E49B3 #562EB3 #992EB3
triadic
#562EB3 #B3562E #2EB356
tetradic
#562EB3 #B32E49 #8BB32E #2EB399
square
#562EB3 #B32E49 #8BB32E #2EB399
split-complementary
#562EB3 #B3992E #49B32E
monochromatic
#271552 #3F2182 #562EB3 #754DD1 #9B7EDE

Accessibility & contrast

On white

8.62
#562EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#562EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EB3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EB3#FFFFFF#000000##FFFFFF
##562EB31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#34526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #562eb3;
/* rgb */ color: rgb(86, 46, 179);
/* oklch */ color: oklch(43.8% 0.195 289.5);
Tailwind
colors: {
  custom: {
    50: '#8f6bcb',
    500: '#562eb3',
    950: '#000000',
  },
}
SCSS
$custom: #562eb3;
$custom-light: #8f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#562eb3",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 258.045,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.19504,
    "h": 289.5
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#562EB3
secondary
#AEC676
accent
#E246B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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