#562CA9#562CA9

#562CA9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.186 H 291.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#562CA9
RGBrgb(86, 44, 169)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 74%, 66%)
CMYKcmyk(49.1%, 74%, 0%, 33.7%)
CIE-LABlab(30.98, 47.61, -60.03)
CIE-LCHlch(30.98, 76.62, 308.42°)
OKLaboklab(42.63% 0.0693 -0.1723)
OKLCHoklch(42.63% 0.186 291.9)
XYZxyz(11.8979, 6.6439, 38.1839)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CA9 #7FA92C
analogous
#2C41A9 #562CA9 #952CA9
triadic
#562CA9 #A9562C #2CA956
tetradic
#562CA9 #A92C41 #7FA92C #2CA995
square
#562CA9 #A92C41 #7FA92C #2CA995
split-complementary
#562CA9 #A9952C #41A92C
monochromatic
#251348 #3D1F78 #562CA9 #7244CE #9774DB

Accessibility & contrast

On white

9.02
#562CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#562CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CA9
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CA9#FFFFFF#000000##FFFFFF
##562CA91.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3B4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562ca9;
/* rgb */ color: rgb(86, 44, 169);
/* oklch */ color: oklch(42.6% 0.186 291.9);
Tailwind
colors: {
  custom: {
    50: '#8e69c4',
    500: '#562ca9',
    950: '#000000',
  },
}
SCSS
$custom: #562ca9;
$custom-light: #8e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#562ca9",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 260.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.18568,
    "h": 291.9
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#562CA9
secondary
#A6C36E
accent
#E246AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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