#562FC4#562FC4

#562FC4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.213 H 286.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#562FC4
RGBrgb(86, 47, 196)
HSLhsl(256, 61%, 48%)
HSVhsv(256, 76%, 77%)
CMYKcmyk(56.1%, 76%, 0%, 23.1%)
CIE-LABlab(33.97, 53.68, -71.14)
CIE-LCHlch(33.97, 89.12, 307.04°)
OKLaboklab(45.49% 0.0601 -0.2048)
OKLCHoklch(45.49% 0.213 286.3)
XYZxyz(14.8151, 7.9961, 52.9766)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FC4 #9DC42F
analogous
#2F52C4 #562FC4 #A12FC4
triadic
#562FC4 #C4562F #2FC456
tetradic
#562FC4 #C42F52 #9DC42F #2FC4A1
square
#562FC4 #C42F52 #9DC42F #2FC4A1
split-complementary
#562FC4 #C4A12F #52C42F
monochromatic
#2B1761 #402393 #562FC4 #7A59D7 #A28AE3

Accessibility & contrast

On white

8.08
#562FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#562FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FC4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FC4#FFFFFF#000000##FFFFFF
##562FC41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#225978
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #562fc4;
/* rgb */ color: rgb(86, 47, 196);
/* oklch */ color: oklch(45.5% 0.213 286.3);
Tailwind
colors: {
  custom: {
    50: '#926cd7',
    500: '#562fc4',
    950: '#000000',
  },
}
SCSS
$custom: #562fc4;
$custom-light: #926cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#562fc4",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 255.705,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.21343,
    "h": 286.3
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#562FC4
secondary
#B9CD82
accent
#E443BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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