#562C9C#562C9C

#562C9C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.171 H 295.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#562C9C
RGBrgb(86, 44, 156)
HSLhsl(263, 56%, 39%)
HSVhsv(263, 72%, 61%)
CMYKcmyk(44.9%, 71.8%, 0%, 38.8%)
CIE-LABlab(29.86, 44.03, -54.00)
CIE-LCHlch(29.86, 69.68, 309.19°)
OKLaboklab(41.49% 0.0722 -0.1545)
OKLCHoklch(41.49% 0.171 295)
XYZxyz(10.7376, 6.1798, 32.0731)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C9C #729C2C
analogous
#2C3A9C #562C9C #8E2C9C
triadic
#562C9C #9C562C #2C9C56
tetradic
#562C9C #9C2C3A #729C2C #2C9C8E
square
#562C9C #9C2C3A #729C2C #2C9C8E
split-complementary
#562C9C #9C8E2C #3A9C2C
monochromatic
#21113D #3C1F6C #562C9C #713DC8 #946DD6

Accessibility & contrast

On white

9.39
#562C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#562C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C9C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C9C#FFFFFF#000000##FFFFFF
##562C9C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#434861
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562c9c;
/* rgb */ color: rgb(86, 44, 156);
/* oklch */ color: oklch(41.5% 0.171 295.0);
Tailwind
colors: {
  custom: {
    50: '#8c69ba',
    500: '#562c9c',
    950: '#000000',
  },
}
SCSS
$custom: #562c9c;
$custom-light: #8c69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#562c9c",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 262.5,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.17056,
    "h": 295
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#562C9C
secondary
#9DBD67
accent
#DF49A7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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