#562FD3#562FD3

#562FD3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.230 H 284.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#562FD3
RGBrgb(86, 47, 211)
HSLhsl(254, 65%, 51%)
HSVhsv(254, 78%, 83%)
CMYKcmyk(59.2%, 77.7%, 0%, 17.3%)
CIE-LABlab(35.43, 57.87, -77.48)
CIE-LCHlch(35.43, 96.70, 306.75°)
OKLaboklab(46.94% 0.0559 -0.2233)
OKLCHoklch(46.94% 0.23 284)
XYZxyz(16.6085, 8.7135, 62.4221)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FD3 #ACD32F
analogous
#2F5AD3 #562FD3 #A82FD3
triadic
#562FD3 #D3562F #2FD356
tetradic
#562FD3 #D32F5A #ACD32F #2FD3A8
square
#562FD3 #D32F5A #ACD32F #2FD3A8
split-complementary
#562FD3 #D3A82F #5AD32F
monochromatic
#2D1870 #4122A2 #562FD3 #7F62DE #A894E8

Accessibility & contrast

On white

7.66
#562FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#562FD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FD3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FD3#FFFFFF#000000##FFFFFF
##562FD31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #562fd3;
/* rgb */ color: rgb(86, 47, 211);
/* oklch */ color: oklch(46.9% 0.230 284.0);
Tailwind
colors: {
  custom: {
    50: '#946de2',
    500: '#562fd3',
    950: '#000000',
  },
}
SCSS
$custom: #562fd3;
$custom-light: #946de2;
$custom-dark: #000000;
JSON
{
  "hex": "#562fd3",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 254.268,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.23021,
    "h": 284
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#562FD3
secondary
#C2D38A
accent
#E840C0
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #562FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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