#562C75#562C75

#562C75 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.124 H 308.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#562C75
RGBrgb(86, 44, 117)
HSLhsl(275, 45%, 32%)
HSVhsv(275, 62%, 46%)
CMYKcmyk(26.5%, 62.4%, 0%, 54.1%)
CIE-LABlab(26.92, 33.67, -34.51)
CIE-LCHlch(26.92, 48.21, 314.29°)
OKLaboklab(38.44% 0.0765 -0.0973)
OKLCHoklch(38.44% 0.124 308.2)
XYZxyz(7.9487, 5.0643, 17.3849)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C75 #4B752C
analogous
#322C75 #562C75 #752C70
triadic
#562C75 #75562C #2C7556
tetradic
#562C75 #75322C #4B752C #2C7075
square
#562C75 #75322C #4B752C #2C7075
split-complementary
#562C75 #70752C #2C7532
monochromatic
#150B1C #351B49 #562C75 #773DA1 #955AC1

Accessibility & contrast

On white

10.43
#562C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562C75
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C75#FFFFFF#000000##FFFFFF
##562C751.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3E77
Deuteranopia (green-blind)
#214073
Tritanopia (blue-blind)
#513A4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562c75;
/* rgb */ color: rgb(86, 44, 117);
/* oklch */ color: oklch(38.4% 0.124 308.2);
Tailwind
colors: {
  custom: {
    50: '#88679d',
    500: '#562c75',
    950: '#000000',
  },
}
SCSS
$custom: #562c75;
$custom-light: #88679d;
$custom-dark: #000000;
JSON
{
  "hex": "#562c75",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 274.521,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.12373,
    "h": 308.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#562C75
secondary
#78A756
accent
#D5538A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C75

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

Preview Lab → · Contrast checker → · Palette generator →

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