#562E57#562E57

#562E57 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.9% C 0.084 H 326.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#562E57
RGBrgb(86, 46, 87)
HSLhsl(299, 31%, 26%)
HSVhsv(299, 47%, 34%)
CMYKcmyk(1.1%, 47.1%, 0%, 65.9%)
CIE-LABlab(25.63, 25.41, -17.13)
CIE-LCHlch(25.63, 30.65, 326.01°)
OKLaboklab(36.92% 0.0701 -0.0469)
OKLCHoklch(36.92% 0.084 326.2)
XYZxyz(6.5349, 4.6209, 9.5627)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E57 #2F572E
analogous
#412E57 #562E57 #572E43
triadic
#562E57 #57562E #2E5756
tetradic
#562E57 #57412E #2F572E #2E4357
square
#562E57 #57412E #2F572E #2E4357
split-complementary
#562E57 #43572E #2E5741
monochromatic
#140B14 #2E192F #562E57 #7E437F #A558A7

Accessibility & contrast

On white

10.91
#562E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E57
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E57#FFFFFF#000000##FFFFFF
##562E571.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#353F56
Tritanopia (blue-blind)
#58323E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562e57;
/* rgb */ color: rgb(86, 46, 87);
/* oklch */ color: oklch(36.9% 0.084 326.2);
Tailwind
colors: {
  custom: {
    50: '#876886',
    500: '#562e57',
    950: '#000000',
  },
}
SCSS
$custom: #562e57;
$custom-light: #876886;
$custom-dark: #000000;
JSON
{
  "hex": "#562e57",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 298.537,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36922,
    "c": 0.08437,
    "h": 326.2
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#562E57
secondary
#598958
accent
#C76163
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562E57

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

Preview Lab → · Contrast checker → · Palette generator →

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