#562A4F#562A4F

#562A4F is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.084 H 333.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#562A4F
RGBrgb(86, 42, 79)
HSLhsl(310, 34%, 25%)
HSVhsv(310, 51%, 34%)
CMYKcmyk(0%, 51.2%, 8.1%, 66.3%)
CIE-LABlab(24.32, 26.14, -13.85)
CIE-LCHlch(24.32, 29.59, 332.08°)
OKLaboklab(35.82% 0.075 -0.0375)
OKLCHoklch(35.82% 0.084 333.4)
XYZxyz(6.0770, 4.1992, 7.8861)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A4F #2A5631
analogous
#472A56 #562A4F #562A39
triadic
#562A4F #4F562A #2A4F56
tetradic
#562A4F #56472A #2A5631 #2A3956
square
#562A4F #56472A #2A5631 #2A3956
split-complementary
#562A4F #39562A #2A5647
monochromatic
#150A13 #2D1629 #562A4F #7F3E75 #A8529B

Accessibility & contrast

On white

11.41
#562A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#562A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A4F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A4F#FFFFFF#000000##FFFFFF
##562A4F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#363C4E
Tritanopia (blue-blind)
#5A2D38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562a4f;
/* rgb */ color: rgb(86, 42, 79);
/* oklch */ color: oklch(35.8% 0.084 333.4);
Tailwind
colors: {
  custom: {
    50: '#876580',
    500: '#562a4f',
    950: '#000000',
  },
}
SCSS
$custom: #562a4f;
$custom-light: #876580;
$custom-dark: #000000;
JSON
{
  "hex": "#562a4f",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 309.545,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.08384,
    "h": 333.4
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#562A4F
secondary
#53885C
accent
#CA6F5D
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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