#562E6F#562E6F

#562E6F is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.3% C 0.113 H 310.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#562E6F
RGBrgb(86, 46, 111)
HSLhsl(277, 41%, 31%)
HSVhsv(277, 59%, 44%)
CMYKcmyk(22.5%, 58.6%, 0%, 56.5%)
CIE-LABlab(26.96, 31.01, -30.61)
CIE-LCHlch(26.96, 43.57, 315.38°)
OKLaboklab(38.35% 0.0735 -0.0859)
OKLCHoklch(38.35% 0.113 310.6)
XYZxyz(7.6835, 5.0803, 15.6117)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E6F #476F2E
analogous
#352E6F #562E6F #6F2E67
triadic
#562E6F #6F562E #2E6F56
tetradic
#562E6F #6F352E #476F2E #2E676F
square
#562E6F #6F352E #476F2E #2E676F
split-complementary
#562E6F #676F2E #2E6F35
monochromatic
#130A18 #341C44 #562E6F #78409A #975CBB

Accessibility & contrast

On white

10.42
#562E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562E6F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E6F#FFFFFF#000000##FFFFFF
##562E6F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#53394A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562e6f;
/* rgb */ color: rgb(86, 46, 111);
/* oklch */ color: oklch(38.3% 0.113 310.6);
Tailwind
colors: {
  custom: {
    50: '#886999',
    500: '#562e6f',
    950: '#000000',
  },
}
SCSS
$custom: #562e6f;
$custom-light: #886999;
$custom-dark: #000000;
JSON
{
  "hex": "#562e6f",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 276.923,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.11302,
    "h": 310.6
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#562E6F
secondary
#74A058
accent
#D15786
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #562E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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