#562F66#562F66

#562F66 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 37.9% C 0.100 H 315.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#562F66
RGBrgb(86, 47, 102)
HSLhsl(283, 37%, 29%)
HSVhsv(283, 54%, 40%)
CMYKcmyk(15.7%, 53.9%, 0%, 60%)
CIE-LABlab(26.65, 28.23, -25.31)
CIE-LCHlch(26.65, 37.91, 318.12°)
OKLaboklab(37.94% 0.0712 -0.0704)
OKLCHoklch(37.94% 0.1 315.3)
XYZxyz(7.2522, 4.9710, 13.1453)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F66 #3F662F
analogous
#3B2F66 #562F66 #662F5B
triadic
#562F66 #66562F #2F6656
tetradic
#562F66 #663B2F #3F662F #2F5B66
square
#562F66 #663B2F #3F662F #2F5B66
split-complementary
#562F66 #5B662F #2F663B
monochromatic
#120A15 #331C3C #562F66 #794290 #9A5CB4

Accessibility & contrast

On white

10.53
#562F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#562F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F66
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F66#FFFFFF#000000##FFFFFF
##562F661.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D68
Deuteranopia (green-blind)
#2F4065
Tritanopia (blue-blind)
#553746
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562f66;
/* rgb */ color: rgb(86, 47, 102);
/* oklch */ color: oklch(37.9% 0.100 315.3);
Tailwind
colors: {
  custom: {
    50: '#876992',
    500: '#562f66',
    950: '#000000',
  },
}
SCSS
$custom: #562f66;
$custom-light: #876992;
$custom-dark: #000000;
JSON
{
  "hex": "#562f66",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 282.545,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37944,
    "c": 0.10013,
    "h": 315.3
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#562F66
secondary
#6B9859
accent
#CD5B7C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562F66

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

Preview Lab → · Contrast checker → · Palette generator →

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