#562B75#562B75

#562B75 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.125 H 308.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#562B75
RGBrgb(86, 43, 117)
HSLhsl(275, 46%, 31%)
HSVhsv(275, 63%, 46%)
CMYKcmyk(26.5%, 63.2%, 0%, 54.1%)
CIE-LABlab(26.71, 34.23, -34.84)
CIE-LCHlch(26.71, 48.84, 314.49°)
OKLaboklab(38.29% 0.0778 -0.0982)
OKLCHoklch(38.29% 0.125 308.4)
XYZxyz(7.9119, 4.9907, 17.3727)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B75 #4A752B
analogous
#312B75 #562B75 #752B6F
triadic
#562B75 #75562B #2B7556
tetradic
#562B75 #75312B #4A752B #2B6F75
square
#562B75 #75312B #4A752B #2B6F75
split-complementary
#562B75 #6F752B #2B7531
monochromatic
#140A1B #351B48 #562B75 #773BA2 #9659C2

Accessibility & contrast

On white

10.51
#562B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#562B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B75
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B75#FFFFFF#000000##FFFFFF
##562B751.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3D77
Deuteranopia (green-blind)
#204073
Tritanopia (blue-blind)
#51394B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562b75;
/* rgb */ color: rgb(86, 43, 117);
/* oklch */ color: oklch(38.3% 0.125 308.4);
Tailwind
colors: {
  custom: {
    50: '#88679d',
    500: '#562b75',
    950: '#000000',
  },
}
SCSS
$custom: #562b75;
$custom-light: #88679d;
$custom-dark: #000000;
JSON
{
  "hex": "#562b75",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 274.865,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.12534,
    "h": 308.4
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#562B75
secondary
#77A755
accent
#D65289
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562B75

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

Preview Lab → · Contrast checker → · Palette generator →

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