#562FC3#562FC3

#562FC3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.212 H 286.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#562FC3
RGBrgb(86, 47, 195)
HSLhsl(256, 61%, 47%)
HSVhsv(256, 76%, 76%)
CMYKcmyk(55.9%, 75.9%, 0%, 23.5%)
CIE-LABlab(33.88, 53.40, -70.71)
CIE-LCHlch(33.88, 88.61, 307.06°)
OKLaboklab(45.39% 0.0603 -0.2035)
OKLCHoklch(45.39% 0.212 286.5)
XYZxyz(14.7016, 7.9508, 52.3792)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FC3 #9CC32F
analogous
#2F52C3 #562FC3 #A02FC3
triadic
#562FC3 #C3562F #2FC356
tetradic
#562FC3 #C32F52 #9CC32F #2FC3A0
square
#562FC3 #C32F52 #9CC32F #2FC3A0
split-complementary
#562FC3 #C3A02F #52C32F
monochromatic
#2B1760 #402392 #562FC3 #7A58D7 #A18AE3

Accessibility & contrast

On white

8.11
#562FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#562FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FC3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FC3#FFFFFF#000000##FFFFFF
##562FC31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#235977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #562fc3;
/* rgb */ color: rgb(86, 47, 195);
/* oklch */ color: oklch(45.4% 0.212 286.5);
Tailwind
colors: {
  custom: {
    50: '#916cd6',
    500: '#562fc3',
    950: '#000000',
  },
}
SCSS
$custom: #562fc3;
$custom-light: #916cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#562fc3",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 255.811,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.2123,
    "h": 286.5
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#562FC3
secondary
#B9CD81
accent
#E444BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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