#562D70#562D70

#562D70 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.3% C 0.116 H 310.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#562D70
RGBrgb(86, 45, 112)
HSLhsl(277, 43%, 31%)
HSVhsv(277, 60%, 44%)
CMYKcmyk(23.2%, 59.8%, 0%, 56.1%)
CIE-LABlab(26.81, 31.84, -31.49)
CIE-LCHlch(26.81, 44.78, 315.31°)
OKLaboklab(38.25% 0.075 -0.0884)
OKLCHoklch(38.25% 0.116 310.3)
XYZxyz(7.7002, 5.0252, 15.8904)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D70 #47702D
analogous
#342D70 #562D70 #702D68
triadic
#562D70 #70562D #2D7056
tetradic
#562D70 #70342D #47702D #2D6870
square
#562D70 #70342D #47702D #2D6870
split-complementary
#562D70 #68702D #2D7034
monochromatic
#130A19 #341B44 #562D70 #783F9C #975ABD

Accessibility & contrast

On white

10.47
#562D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562D70
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D70#FFFFFF#000000##FFFFFF
##562D701.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D72
Deuteranopia (green-blind)
#26406E
Tritanopia (blue-blind)
#53394A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562d70;
/* rgb */ color: rgb(86, 45, 112);
/* oklch */ color: oklch(38.3% 0.116 310.3);
Tailwind
colors: {
  custom: {
    50: '#886899',
    500: '#562d70',
    950: '#000000',
  },
}
SCSS
$custom: #562d70;
$custom-light: #886899;
$custom-dark: #000000;
JSON
{
  "hex": "#562d70",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 276.716,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.11596,
    "h": 310.3
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#562D70
secondary
#74A257
accent
#D25586
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562D70

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

Preview Lab → · Contrast checker → · Palette generator →

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