#562C9F#562C9F

#562C9F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.174 H 294.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#562C9F
RGBrgb(86, 44, 159)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 72%, 62%)
CMYKcmyk(45.9%, 72.3%, 0%, 37.6%)
CIE-LABlab(30.11, 44.85, -55.41)
CIE-LCHlch(30.11, 71.29, 308.99°)
OKLaboklab(41.74% 0.0716 -0.1587)
OKLCHoklch(41.74% 0.174 294.3)
XYZxyz(10.9947, 6.2827, 33.4276)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C9F #759F2C
analogous
#2C3C9F #562C9F #902C9F
triadic
#562C9F #9F562C #2C9F56
tetradic
#562C9F #9F2C3C #759F2C #2C9F90
square
#562C9F #9F2C3C #759F2C #2C9F90
split-complementary
#562C9F #9F902C #3C9F2C
monochromatic
#22113F #3C1F6F #562C9F #713ECA #956ED7

Accessibility & contrast

On white

9.31
#562C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#562C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C9F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C9F#FFFFFF#000000##FFFFFF
##562C9F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#414962
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562c9f;
/* rgb */ color: rgb(86, 44, 159);
/* oklch */ color: oklch(41.7% 0.174 294.3);
Tailwind
colors: {
  custom: {
    50: '#8c69bc',
    500: '#562c9f',
    950: '#000000',
  },
}
SCSS
$custom: #562c9f;
$custom-light: #8c69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#562c9f",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 261.913,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.17407,
    "h": 294.3
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#562C9F
secondary
#9FBE69
accent
#E048A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #562C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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