#562162#562162

#562162 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.6% C 0.120 H 319.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#562162
RGBrgb(86, 33, 98)
HSLhsl(289, 50%, 26%)
HSVhsv(289, 66%, 38%)
CMYKcmyk(12.2%, 66.3%, 0%, 61.6%)
CIE-LABlab(23.50, 35.11, -27.70)
CIE-LCHlch(23.50, 44.72, 321.73°)
OKLaboklab(35.56% 0.0915 -0.0773)
OKLCHoklch(35.56% 0.12 319.8)
XYZxyz(6.5859, 3.9483, 11.9681)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562162 #2D6221
analogous
#352162 #562162 #62214D
triadic
#562162 #625621 #216256
tetradic
#562162 #623521 #2D6221 #214D62
square
#562162 #623521 #2D6221 #214D62
split-complementary
#562162 #4D6221 #216235
monochromatic
#140817 #2E1234 #562162 #7E3090 #A640BE

Accessibility & contrast

On white

11.73
#562162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#562162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562162
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562162#FFFFFF#000000##FFFFFF
##5621621.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#263A60
Tritanopia (blue-blind)
#562C3E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #562162;
/* rgb */ color: rgb(86, 33, 98);
/* oklch */ color: oklch(35.6% 0.120 319.8);
Tailwind
colors: {
  custom: {
    50: '#88608f',
    500: '#562162',
    950: '#000000',
  },
}
SCSS
$custom: #562162;
$custom-light: #88608f;
$custom-dark: #000000;
JSON
{
  "hex": "#562162",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 288.923,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.11978,
    "h": 319.8
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#562162
secondary
#579649
accent
#D94F68
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #562162

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

Preview Lab → · Contrast checker → · Palette generator →

#562162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva