#562179#562179

#562179 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.145 H 308.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#562179
RGBrgb(86, 33, 121)
HSLhsl(276, 57%, 30%)
HSVhsv(276, 73%, 47%)
CMYKcmyk(28.9%, 72.7%, 0%, 52.5%)
CIE-LABlab(25.10, 40.44, -39.98)
CIE-LCHlch(25.10, 56.86, 315.33°)
OKLaboklab(37.22% 0.09 -0.1133)
OKLCHoklch(37.22% 0.145 308.5)
XYZxyz(7.8321, 4.4468, 18.5312)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562179 #447921
analogous
#2A2179 #562179 #792170
triadic
#562179 #795621 #217956
tetradic
#562179 #792A21 #447921 #217079
square
#562179 #792A21 #447921 #217079
split-complementary
#562179 #707921 #21792A
monochromatic
#120719 #341449 #562179 #782EA9 #9847CD

Accessibility & contrast

On white

11.11
#562179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#562179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562179
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562179#FFFFFF#000000##FFFFFF
##5621791.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#0C3C77
Tritanopia (blue-blind)
#51354A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562179;
/* rgb */ color: rgb(86, 33, 121);
/* oklch */ color: oklch(37.2% 0.145 308.5);
Tailwind
colors: {
  custom: {
    50: '#8961a0',
    500: '#562179',
    950: '#000000',
  },
}
SCSS
$custom: #562179;
$custom-light: #8961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#562179",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 276.136,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.14468,
    "h": 308.5
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#562179
secondary
#71AC4A
accent
#E04784
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #562179

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

Preview Lab → · Contrast checker → · Palette generator →

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