#562B70#562B70

#562B70 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.9% C 0.119 H 310.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#562B70
RGBrgb(86, 43, 112)
HSLhsl(277, 45%, 30%)
HSVhsv(277, 62%, 44%)
CMYKcmyk(23.2%, 61.6%, 0%, 56.1%)
CIE-LABlab(26.38, 32.98, -32.18)
CIE-LCHlch(26.38, 46.08, 315.71°)
OKLaboklab(37.94% 0.0778 -0.0904)
OKLCHoklch(37.94% 0.119 310.7)
XYZxyz(7.6257, 4.8762, 15.8656)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B70 #45702B
analogous
#332B70 #562B70 #702B67
triadic
#562B70 #70562B #2B7056
tetradic
#562B70 #70332B #45702B #2B6770
square
#562B70 #70332B #45702B #2B6770
split-complementary
#562B70 #67702B #2B7033
monochromatic
#120918 #341A44 #562B70 #783C9C #9757BE

Accessibility & contrast

On white

10.63
#562B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B70
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B70#FFFFFF#000000##FFFFFF
##562B701.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#243F6E
Tritanopia (blue-blind)
#533849
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562b70;
/* rgb */ color: rgb(86, 43, 112);
/* oklch */ color: oklch(37.9% 0.119 310.7);
Tailwind
colors: {
  custom: {
    50: '#886799',
    500: '#562b70',
    950: '#000000',
  },
}
SCSS
$custom: #562b70;
$custom-light: #886799;
$custom-dark: #000000;
JSON
{
  "hex": "#562b70",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 277.391,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.11932,
    "h": 310.7
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#562B70
secondary
#72A255
accent
#D45484
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562B70

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

Preview Lab → · Contrast checker → · Palette generator →

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