#562479#562479

#562479 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.141 H 308.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#562479
RGBrgb(86, 36, 121)
HSLhsl(275, 54%, 31%)
HSVhsv(275, 70%, 47%)
CMYKcmyk(28.9%, 70.2%, 0%, 52.5%)
CIE-LABlab(25.63, 38.96, -39.12)
CIE-LCHlch(25.63, 55.21, 314.88°)
OKLaboklab(37.59% 0.0865 -0.1108)
OKLCHoklch(37.59% 0.141 308)
XYZxyz(7.9191, 4.6208, 18.5602)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562479 #477924
analogous
#2B2479 #562479 #792471
triadic
#562479 #795624 #247956
tetradic
#562479 #792B24 #477924 #247179
square
#562479 #792B24 #477924 #247179
split-complementary
#562479 #717924 #24792B
monochromatic
#13081B #34164A #562479 #7832A8 #974DCA

Accessibility & contrast

On white

10.91
#562479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##562479#FFFFFF#000000##FFFFFF
##5624791.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)
#003B7C
Deuteranopia (green-blind)
#113D77
Tritanopia (blue-blind)
#51364B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562479;
/* rgb */ color: rgb(86, 36, 121);
/* oklch */ color: oklch(37.6% 0.141 308.0);
Tailwind
colors: {
  custom: {
    50: '#8963a0',
    500: '#562479',
    950: '#000000',
  },
}
SCSS
$custom: #562479;
$custom-light: #8963a0;
$custom-dark: #000000;
JSON
{
  "hex": "#562479",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 275.294,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.14057,
    "h": 308
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#562479
secondary
#74AC4D
accent
#DE4A87
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #562479

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

Preview Lab → · Contrast checker → · Palette generator →

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