#562C8F#562C8F

#562C8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.155 H 298.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#562C8F
RGBrgb(86, 44, 143)
HSLhsl(265, 53%, 37%)
HSVhsv(265, 69%, 56%)
CMYKcmyk(39.9%, 69.2%, 0%, 43.9%)
CIE-LABlab(28.81, 40.49, -47.75)
CIE-LCHlch(28.81, 62.60, 310.30°)
OKLaboklab(40.4% 0.0744 -0.1362)
OKLCHoklch(40.4% 0.155 298.7)
XYZxyz(9.6951, 5.7628, 26.5828)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C8F #658F2C
analogous
#2C338F #562C8F #882C8F
triadic
#562C8F #8F562C #2C8F56
tetradic
#562C8F #8F2C33 #658F2C #2C8F88
square
#562C8F #8F2C33 #658F2C #2C8F88
split-complementary
#562C8F #8F882C #338F2C
monochromatic
#1E0F31 #3A1E60 #562C8F #723ABE #9366D0

Accessibility & contrast

On white

9.76
#562C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C8F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C8F#FFFFFF#000000##FFFFFF
##562C8F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#49435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562c8f;
/* rgb */ color: rgb(86, 44, 143);
/* oklch */ color: oklch(40.4% 0.155 298.7);
Tailwind
colors: {
  custom: {
    50: '#8b68b1',
    500: '#562c8f',
    950: '#000000',
  },
}
SCSS
$custom: #562c8f;
$custom-light: #8b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562c8f",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 265.455,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.15517,
    "h": 298.7
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#562C8F
secondary
#92B661
accent
#DC4B9F
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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