#562D6F#562D6F

#562D6F is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.2% C 0.115 H 310.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#562D6F
RGBrgb(86, 45, 111)
HSLhsl(277, 42%, 31%)
HSVhsv(277, 59%, 44%)
CMYKcmyk(22.5%, 59.5%, 0%, 56.5%)
CIE-LABlab(26.74, 31.59, -30.95)
CIE-LCHlch(26.74, 44.23, 315.58°)
OKLaboklab(38.19% 0.075 -0.0869)
OKLCHoklch(38.19% 0.115 310.8)
XYZxyz(7.6448, 5.0031, 15.5988)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D6F #466F2D
analogous
#352D6F #562D6F #6F2D67
triadic
#562D6F #6F562D #2D6F56
tetradic
#562D6F #6F352D #466F2D #2D676F
square
#562D6F #6F352D #466F2D #2D676F
split-complementary
#562D6F #676F2D #2D6F35
monochromatic
#130A18 #341B43 #562D6F #783F9B #975ABC

Accessibility & contrast

On white

10.50
#562D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#562D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D6F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D6F#FFFFFF#000000##FFFFFF
##562D6F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#533949
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562d6f;
/* rgb */ color: rgb(86, 45, 111);
/* oklch */ color: oklch(38.2% 0.115 310.8);
Tailwind
colors: {
  custom: {
    50: '#886899',
    500: '#562d6f',
    950: '#000000',
  },
}
SCSS
$custom: #562d6f;
$custom-light: #886899;
$custom-dark: #000000;
JSON
{
  "hex": "#562d6f",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 277.273,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.11474,
    "h": 310.8
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#562D6F
secondary
#73A157
accent
#D25685
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #562D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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