#562268#562268

#562268 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.125 H 316.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#562268
RGBrgb(86, 34, 104)
HSLhsl(285, 51%, 27%)
HSVhsv(285, 67%, 41%)
CMYKcmyk(17.3%, 67.3%, 0%, 59.2%)
CIE-LABlab(24.07, 35.94, -30.70)
CIE-LCHlch(24.07, 47.27, 319.49°)
OKLaboklab(36.1% 0.0902 -0.0861)
OKLCHoklch(36.1% 0.125 316.3)
XYZxyz(6.9081, 4.1222, 13.5258)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562268 #346822
analogous
#332268 #562268 #682257
triadic
#562268 #685622 #226856
tetradic
#562268 #683322 #346822 #225768
square
#562268 #683322 #346822 #225768
split-complementary
#562268 #576822 #226833
monochromatic
#130817 #30133A #562268 #7C3196 #A143C2

Accessibility & contrast

On white

11.51
#562268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#562268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562268
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562268#FFFFFF#000000##FFFFFF
##5622681.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#223B66
Tritanopia (blue-blind)
#552F41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #562268;
/* rgb */ color: rgb(86, 34, 104);
/* oklch */ color: oklch(36.1% 0.125 316.3);
Tailwind
colors: {
  custom: {
    50: '#886193',
    500: '#562268',
    950: '#000000',
  },
}
SCSS
$custom: #562268;
$custom-light: #886193;
$custom-dark: #000000;
JSON
{
  "hex": "#562268",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 284.571,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.12465,
    "h": 316.3
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#562268
secondary
#5F9C4A
accent
#DA4E72
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #562268

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

Preview Lab → · Contrast checker → · Palette generator →

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