#562E5F#562E5F

#562E5F is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.4% C 0.094 H 320.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#562E5F
RGBrgb(86, 46, 95)
HSLhsl(289, 35%, 28%)
HSVhsv(289, 52%, 37%)
CMYKcmyk(9.5%, 51.6%, 0%, 62.7%)
CIE-LABlab(26.04, 27.19, -21.73)
CIE-LCHlch(26.04, 34.81, 321.36°)
OKLaboklab(37.36% 0.0717 -0.0601)
OKLCHoklch(37.36% 0.094 320)
XYZxyz(6.8800, 4.7589, 11.3804)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E5F #375F2E
analogous
#3E2E5F #562E5F #5F2E4F
triadic
#562E5F #5F562E #2E5F56
tetradic
#562E5F #5F3E2E #375F2E #2E4F5F
square
#562E5F #5F3E2E #375F2E #2E4F5F
split-complementary
#562E5F #4F5F2E #2E5F3E
monochromatic
#130A15 #311A36 #562E5F #7B4288 #9F59AF

Accessibility & contrast

On white

10.76
#562E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E5F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E5F#FFFFFF#000000##FFFFFF
##562E5F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#323F5E
Tritanopia (blue-blind)
#573542
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562e5f;
/* rgb */ color: rgb(86, 46, 95);
/* oklch */ color: oklch(37.4% 0.094 320.0);
Tailwind
colors: {
  custom: {
    50: '#87688c',
    500: '#562e5f',
    950: '#000000',
  },
}
SCSS
$custom: #562e5f;
$custom-light: #87688c;
$custom-dark: #000000;
JSON
{
  "hex": "#562e5f",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 288.98,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37362,
    "c": 0.09357,
    "h": 320
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#562E5F
secondary
#629158
accent
#CB5D71
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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