#562DCD#562DCD

#562DCD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.225 H 285.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#562DCD
RGBrgb(86, 45, 205)
HSLhsl(255, 64%, 49%)
HSVhsv(255, 78%, 80%)
CMYKcmyk(58%, 78%, 0%, 19.6%)
CIE-LABlab(34.52, 57.11, -75.49)
CIE-LCHlch(34.52, 94.66, 307.11°)
OKLaboklab(46.13% 0.0588 -0.2175)
OKLCHoklch(46.13% 0.225 285.1)
XYZxyz(15.7922, 8.2620, 58.5083)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DCD #A4CD2D
analogous
#2D54CD #562DCD #A62DCD
triadic
#562DCD #CD562D #2DCD56
tetradic
#562DCD #CD2D54 #A4CD2D #2DCDA6
square
#562DCD #CD2D54 #A4CD2D #2DCDA6
split-complementary
#562DCD #CDA62D #54CD2D
monochromatic
#2C1769 #41229B #562DCD #7D5CDB #A58EE6

Accessibility & contrast

On white

7.92
#562DCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#562DCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DCD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DCD#FFFFFF#000000##FFFFFF
##562DCD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#115C7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #562dcd;
/* rgb */ color: rgb(86, 45, 205);
/* oklch */ color: oklch(46.1% 0.225 285.1);
Tailwind
colors: {
  custom: {
    50: '#936cde',
    500: '#562dcd',
    950: '#000000',
  },
}
SCSS
$custom: #562dcd;
$custom-light: #936cde;
$custom-dark: #000000;
JSON
{
  "hex": "#562dcd",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 205
  },
  "hsl": {
    "h": 255.375,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.22532,
    "h": 285.1
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#562DCD
secondary
#BDD185
accent
#E741BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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