#562CA7#562CA7

#562CA7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.183 H 292.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#562CA7
RGBrgb(86, 44, 167)
HSLhsl(260, 58%, 41%)
HSVhsv(260, 74%, 65%)
CMYKcmyk(48.5%, 73.7%, 0%, 34.5%)
CIE-LABlab(30.81, 47.06, -59.12)
CIE-LCHlch(30.81, 75.56, 308.52°)
OKLaboklab(42.45% 0.0698 -0.1696)
OKLCHoklch(42.45% 0.183 292.4)
XYZxyz(11.7115, 6.5694, 37.2027)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA7 #7DA72C
analogous
#2C40A7 #562CA7 #942CA7
triadic
#562CA7 #A7562C #2CA756
tetradic
#562CA7 #A72C40 #7DA72C #2CA794
square
#562CA7 #A72C40 #7DA72C #2CA794
split-complementary
#562CA7 #A7942C #40A72C
monochromatic
#241246 #3D1F77 #562CA7 #7243CD #9673DA

Accessibility & contrast

On white

9.08
#562CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#562CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA7#FFFFFF#000000##FFFFFF
##562CA71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#3C4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ca7;
/* rgb */ color: rgb(86, 44, 167);
/* oklch */ color: oklch(42.4% 0.183 292.4);
Tailwind
colors: {
  custom: {
    50: '#8e69c2',
    500: '#562ca7',
    950: '#000000',
  },
}
SCSS
$custom: #562ca7;
$custom-light: #8e69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca7",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 260.488,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.18338,
    "h": 292.4
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#562CA7
secondary
#A5C26D
accent
#E246AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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