#562468#562468

#562468 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.122 H 316.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#562468
RGBrgb(86, 36, 104)
HSLhsl(284, 49%, 27%)
HSVhsv(284, 65%, 41%)
CMYKcmyk(17.3%, 65.4%, 0%, 59.2%)
CIE-LABlab(24.45, 34.90, -30.10)
CIE-LCHlch(24.45, 46.09, 319.22°)
OKLaboklab(36.37% 0.0875 -0.0843)
OKLCHoklch(36.37% 0.122 316.1)
XYZxyz(6.9669, 4.2399, 13.5454)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562468 #366824
analogous
#342468 #562468 #682458
triadic
#562468 #685624 #246856
tetradic
#562468 #683424 #366824 #245868
square
#562468 #683424 #366824 #245868
split-complementary
#562468 #586824 #246834
monochromatic
#130817 #30143B #562468 #7C3495 #9F47BF

Accessibility & contrast

On white

11.36
#562468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#562468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562468
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562468#FFFFFF#000000##FFFFFF
##5624681.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#243C66
Tritanopia (blue-blind)
#553042
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562468;
/* rgb */ color: rgb(86, 36, 104);
/* oklch */ color: oklch(36.4% 0.122 316.1);
Tailwind
colors: {
  custom: {
    50: '#886293',
    500: '#562468',
    950: '#000000',
  },
}
SCSS
$custom: #562468;
$custom-light: #886293;
$custom-dark: #000000;
JSON
{
  "hex": "#562468",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 284.118,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.12151,
    "h": 316.1
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#562468
secondary
#619B4C
accent
#D85074
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #562468

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

Preview Lab → · Contrast checker → · Palette generator →

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