#562E66#562E66

#562E66 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.8% C 0.102 H 315.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#562E66
RGBrgb(86, 46, 102)
HSLhsl(283, 38%, 29%)
HSVhsv(283, 55%, 40%)
CMYKcmyk(15.7%, 54.9%, 0%, 60%)
CIE-LABlab(26.42, 28.82, -25.67)
CIE-LCHlch(26.42, 38.59, 318.31°)
OKLaboklab(37.78% 0.0727 -0.0715)
OKLCHoklch(37.78% 0.102 315.5)
XYZxyz(7.2126, 4.8919, 13.1321)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E66 #3E662E
analogous
#3A2E66 #562E66 #662E5A
triadic
#562E66 #66562E #2E6656
tetradic
#562E66 #663A2E #3E662E #2E5A66
square
#562E66 #663A2E #3E662E #2E5A66
split-complementary
#562E66 #5A662E #2E663A
monochromatic
#120A15 #321B3C #562E66 #7A4190 #9B5AB5

Accessibility & contrast

On white

10.61
#562E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E66
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E66#FFFFFF#000000##FFFFFF
##562E661.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#2E4065
Tritanopia (blue-blind)
#553745
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562e66;
/* rgb */ color: rgb(86, 46, 102);
/* oklch */ color: oklch(37.8% 0.102 315.5);
Tailwind
colors: {
  custom: {
    50: '#876892',
    500: '#562e66',
    950: '#000000',
  },
}
SCSS
$custom: #562e66;
$custom-light: #876892;
$custom-dark: #000000;
JSON
{
  "hex": "#562e66",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 282.857,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37776,
    "c": 0.10197,
    "h": 315.5
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#562E66
secondary
#6A9858
accent
#CE5A7B
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562E66

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

Preview Lab → · Contrast checker → · Palette generator →

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