#562CA1#562CA1

#562CA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.176 H 293.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#562CA1
RGBrgb(86, 44, 161)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 73%, 63%)
CMYKcmyk(46.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(30.29, 45.40, -56.35)
CIE-LCHlch(30.29, 72.36, 308.86°)
OKLaboklab(41.92% 0.0711 -0.1614)
OKLCHoklch(41.92% 0.176 293.8)
XYZxyz(11.1697, 6.3527, 34.3490)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA1 #77A12C
analogous
#2C3DA1 #562CA1 #902CA1
triadic
#562CA1 #A1562C #2CA156
tetradic
#562CA1 #A12C3D #77A12C #2CA190
square
#562CA1 #A12C3D #77A12C #2CA190
split-complementary
#562CA1 #A1902C #3DA12C
monochromatic
#231241 #3C1F71 #562CA1 #7140CB #9570D8

Accessibility & contrast

On white

9.25
#562CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#562CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA1#FFFFFF#000000##FFFFFF
##562CA11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#404A64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562ca1;
/* rgb */ color: rgb(86, 44, 161);
/* oklch */ color: oklch(41.9% 0.176 293.8);
Tailwind
colors: {
  custom: {
    50: '#8d69be',
    500: '#562ca1',
    950: '#000000',
  },
}
SCSS
$custom: #562ca1;
$custom-light: #8d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca1",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 261.538,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.17641,
    "h": 293.8
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#562CA1
secondary
#A0BF6A
accent
#E047A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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