#562D73#562D73

#562D73 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.5% C 0.120 H 308.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#562D73
RGBrgb(86, 45, 115)
HSLhsl(275, 44%, 31%)
HSVhsv(275, 61%, 45%)
CMYKcmyk(25.2%, 60.9%, 0%, 54.9%)
CIE-LABlab(27.00, 32.59, -33.10)
CIE-LCHlch(27.00, 46.45, 314.55°)
OKLaboklab(38.46% 0.0751 -0.0932)
OKLCHoklch(38.46% 0.12 308.9)
XYZxyz(7.8700, 5.0931, 16.7848)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D73 #4A732D
analogous
#332D73 #562D73 #732D6D
triadic
#562D73 #73562D #2D7356
tetradic
#562D73 #73332D #4A732D #2D6D73
square
#562D73 #73332D #4A732D #2D6D73
split-complementary
#562D73 #6D732D #2D7333
monochromatic
#140B1B #351C47 #562D73 #773E9F #965BBF

Accessibility & contrast

On white

10.40
#562D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#562D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D73
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D73#FFFFFF#000000##FFFFFF
##562D731.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#523A4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562d73;
/* rgb */ color: rgb(86, 45, 115);
/* oklch */ color: oklch(38.5% 0.120 308.9);
Tailwind
colors: {
  custom: {
    50: '#88689c',
    500: '#562d73',
    950: '#000000',
  },
}
SCSS
$custom: #562d73;
$custom-light: #88689c;
$custom-dark: #000000;
JSON
{
  "hex": "#562d73",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 275.143,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.11964,
    "h": 308.9
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#562D73
secondary
#77A457
accent
#D35489
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562D73

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

Preview Lab → · Contrast checker → · Palette generator →

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