#562F6F#562F6F

#562F6F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.111 H 310.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#562F6F
RGBrgb(86, 47, 111)
HSLhsl(277, 41%, 31%)
HSVhsv(277, 58%, 44%)
CMYKcmyk(22.5%, 57.7%, 0%, 56.5%)
CIE-LABlab(27.18, 30.43, -30.25)
CIE-LCHlch(27.18, 42.91, 315.16°)
OKLaboklab(38.51% 0.072 -0.0848)
OKLCHoklch(38.51% 0.111 310.3)
XYZxyz(7.7230, 5.1593, 15.6248)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F6F #486F2F
analogous
#362F6F #562F6F #6F2F68
triadic
#562F6F #6F562F #2F6F56
tetradic
#562F6F #6F362F #486F2F #2F686F
square
#562F6F #6F362F #486F2F #2F686F
split-complementary
#562F6F #686F2F #2F6F36
monochromatic
#130B19 #351D44 #562F6F #77419A #965EBB

Accessibility & contrast

On white

10.34
#562F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F6F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F6F#FFFFFF#000000##FFFFFF
##562F6F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#533A4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562f6f;
/* rgb */ color: rgb(86, 47, 111);
/* oklch */ color: oklch(38.5% 0.111 310.3);
Tailwind
colors: {
  custom: {
    50: '#886999',
    500: '#562f6f',
    950: '#000000',
  },
}
SCSS
$custom: #562f6f;
$custom-light: #886999;
$custom-dark: #000000;
JSON
{
  "hex": "#562f6f",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 276.563,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.11129,
    "h": 310.3
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#562F6F
secondary
#75A059
accent
#D05787
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #562F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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