#562AC3#562AC3

#562AC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.217 H 287.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#562AC3
RGBrgb(86, 42, 195)
HSLhsl(257, 65%, 46%)
HSVhsv(257, 78%, 76%)
CMYKcmyk(55.9%, 78.5%, 0%, 23.5%)
CIE-LABlab(33.08, 55.70, -72.03)
CIE-LCHlch(33.08, 91.05, 307.71°)
OKLaboklab(44.83% 0.0637 -0.2074)
OKLCHoklch(44.83% 0.217 287.1)
XYZxyz(14.5131, 7.5737, 52.3163)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AC3 #97C32A
analogous
#2A4BC3 #562AC3 #A32AC3
triadic
#562AC3 #C3562A #2AC356
tetradic
#562AC3 #C32A4B #97C32A #2AC3A3
square
#562AC3 #C32A4B #97C32A #2AC3A3
split-complementary
#562AC3 #C3A32A #4BC32A
monochromatic
#2A145E #401F91 #562AC3 #7851D9 #9F83E4

Accessibility & contrast

On white

8.35
#562AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#562AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562AC3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AC3#FFFFFF#000000##FFFFFF
##562AC31.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#245776
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562ac3;
/* rgb */ color: rgb(86, 42, 195);
/* oklch */ color: oklch(44.8% 0.217 287.1);
Tailwind
colors: {
  custom: {
    50: '#926ad6',
    500: '#562ac3',
    950: '#000000',
  },
}
SCSS
$custom: #562ac3;
$custom-light: #926ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#562ac3",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 257.255,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.21693,
    "h": 287.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#562AC3
secondary
#B6CD7B
accent
#E840B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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