#562C74#562C74

#562C74 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.123 H 308.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#562C74
RGBrgb(86, 44, 116)
HSLhsl(275, 45%, 31%)
HSVhsv(275, 62%, 45%)
CMYKcmyk(25.9%, 62.1%, 0%, 54.5%)
CIE-LABlab(26.85, 33.41, -33.98)
CIE-LCHlch(26.85, 47.65, 314.52°)
OKLaboklab(38.37% 0.0765 -0.0957)
OKLCHoklch(38.37% 0.123 308.6)
XYZxyz(7.8902, 5.0409, 17.0769)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C74 #4A742C
analogous
#322C74 #562C74 #742C6E
triadic
#562C74 #74562C #2C7456
tetradic
#562C74 #74322C #4A742C #2C6E74
square
#562C74 #74322C #4A742C #2C6E74
split-complementary
#562C74 #6E742C #2C7432
monochromatic
#140A1B #351B48 #562C74 #773DA0 #965AC0

Accessibility & contrast

On white

10.46
#562C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#562C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C74
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C74#FFFFFF#000000##FFFFFF
##562C741.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#523A4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562c74;
/* rgb */ color: rgb(86, 44, 116);
/* oklch */ color: oklch(38.4% 0.123 308.6);
Tailwind
colors: {
  custom: {
    50: '#88679c',
    500: '#562c74',
    950: '#000000',
  },
}
SCSS
$custom: #562c74;
$custom-light: #88679c;
$custom-dark: #000000;
JSON
{
  "hex": "#562c74",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 275,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38368,
    "c": 0.12251,
    "h": 308.6
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#562C74
secondary
#77A656
accent
#D55389
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C74

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

Preview Lab → · Contrast checker → · Palette generator →

#562C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva