#562DB3#562DB3

#562DB3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.196 H 289.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#562DB3
RGBrgb(86, 45, 179)
HSLhsl(258, 60%, 44%)
HSVhsv(258, 75%, 70%)
CMYKcmyk(52%, 74.9%, 0%, 29.8%)
CIE-LABlab(32.05, 49.89, -64.26)
CIE-LCHlch(32.05, 81.35, 307.83°)
OKLaboklab(43.66% 0.066 -0.1846)
OKLCHoklch(43.66% 0.196 289.7)
XYZxyz(12.9105, 7.1093, 43.3311)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DB3 #8AB32D
analogous
#2D47B3 #562DB3 #992DB3
triadic
#562DB3 #B3562D #2DB356
tetradic
#562DB3 #B32D47 #8AB32D #2DB399
square
#562DB3 #B32D47 #8AB32D #2DB399
split-complementary
#562DB3 #B3992D #47B32D
monochromatic
#271451 #3F2182 #562DB3 #754BD2 #9A7CDE

Accessibility & contrast

On white

8.67
#562DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#562DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DB3
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DB3#FFFFFF#000000##FFFFFF
##562DB31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562db3;
/* rgb */ color: rgb(86, 45, 179);
/* oklch */ color: oklch(43.7% 0.196 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f6acb',
    500: '#562db3',
    950: '#000000',
  },
}
SCSS
$custom: #562db3;
$custom-light: #8f6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#562db3",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 258.358,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.19609,
    "h": 289.7
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#562DB3
secondary
#AEC775
accent
#E345B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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