#562CD3#562CD3

#562CD3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.233 H 284.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#562CD3
RGBrgb(86, 44, 211)
HSLhsl(255, 65%, 50%)
HSVhsv(255, 79%, 83%)
CMYKcmyk(59.2%, 79.1%, 0%, 17.3%)
CIE-LABlab(34.97, 59.20, -78.24)
CIE-LCHlch(34.97, 98.11, 307.11°)
OKLaboklab(46.62% 0.0576 -0.2255)
OKLCHoklch(46.62% 0.233 284.3)
XYZxyz(16.4927, 8.4819, 62.3835)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CD3 #A9D32C
analogous
#2C55D3 #562CD3 #AA2CD3
triadic
#562CD3 #D3562C #2CD356
tetradic
#562CD3 #D32C55 #A9D32C #2CD3AA
square
#562CD3 #D32C55 #A9D32C #2CD3AA
split-complementary
#562CD3 #D3AA2C #55D32C
monochromatic
#2D176E #4121A0 #562CD3 #7F5FDE #A791E8

Accessibility & contrast

On white

7.79
#562CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#562CD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CD3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CD3#FFFFFF#000000##FFFFFF
##562CD31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #562cd3;
/* rgb */ color: rgb(86, 44, 211);
/* oklch */ color: oklch(46.6% 0.233 284.3);
Tailwind
colors: {
  custom: {
    50: '#946ce2',
    500: '#562cd3',
    950: '#000000',
  },
}
SCSS
$custom: #562cd3;
$custom-light: #946ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#562cd3",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 255.09,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.23275,
    "h": 284.3
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#562CD3
secondary
#C0D388
accent
#E83FBE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #562CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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