#562CA3#562CA3

#562CA3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.179 H 293.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#562CA3
RGBrgb(86, 44, 163)
HSLhsl(261, 57%, 41%)
HSVhsv(261, 73%, 64%)
CMYKcmyk(47.2%, 73%, 0%, 36.1%)
CIE-LABlab(30.46, 45.95, -57.28)
CIE-LCHlch(30.46, 73.43, 308.74°)
OKLaboklab(42.09% 0.0707 -0.1642)
OKLCHoklch(42.09% 0.179 293.3)
XYZxyz(11.3475, 6.4238, 35.2853)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA3 #79A32C
analogous
#2C3EA3 #562CA3 #912CA3
triadic
#562CA3 #A3562C #2CA356
tetradic
#562CA3 #A32C3E #79A32C #2CA391
square
#562CA3 #A32C3E #79A32C #2CA391
split-complementary
#562CA3 #A3912C #3EA32C
monochromatic
#231243 #3D1F73 #562CA3 #7241CC #9571D9

Accessibility & contrast

On white

9.19
#562CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#562CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA3
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA3#FFFFFF#000000##FFFFFF
##562CA31.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#3F4B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ca3;
/* rgb */ color: rgb(86, 44, 163);
/* oklch */ color: oklch(42.1% 0.179 293.3);
Tailwind
colors: {
  custom: {
    50: '#8d69bf',
    500: '#562ca3',
    950: '#000000',
  },
}
SCSS
$custom: #562ca3;
$custom-light: #8d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca3",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 261.176,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.17873,
    "h": 293.3
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#562CA3
secondary
#A2C06B
accent
#E147AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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