#562DBA#562DBA

#562DBA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.204 H 288.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#562DBA
RGBrgb(86, 45, 186)
HSLhsl(257, 61%, 45%)
HSVhsv(257, 76%, 73%)
CMYKcmyk(53.8%, 75.8%, 0%, 27.1%)
CIE-LABlab(32.70, 51.84, -67.35)
CIE-LCHlch(32.70, 84.99, 307.59°)
OKLaboklab(44.31% 0.0642 -0.1937)
OKLCHoklch(44.31% 0.204 288.3)
XYZxyz(13.6365, 7.3997, 47.1546)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DBA #91BA2D
analogous
#2D4ABA #562DBA #9D2DBA
triadic
#562DBA #BA562D #2DBA56
tetradic
#562DBA #BA2D4A #91BA2D #2DBA9D
square
#562DBA #BA2D4A #91BA2D #2DBA9D
split-complementary
#562DBA #BA9D2D #4ABA2D
monochromatic
#281557 #3F2189 #562DBA #7650D5 #9D81E0

Accessibility & contrast

On white

8.47
#562DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#562DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DBA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DBA#FFFFFF#000000##FFFFFF
##562DBA1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#2E5472
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562dba;
/* rgb */ color: rgb(86, 45, 186);
/* oklch */ color: oklch(44.3% 0.204 288.3);
Tailwind
colors: {
  custom: {
    50: '#906bd0',
    500: '#562dba',
    950: '#000000',
  },
}
SCSS
$custom: #562dba;
$custom-light: #906bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#562dba",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 257.447,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.20406,
    "h": 288.3
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#562DBA
secondary
#B2C979
accent
#E444B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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