#562E6E#562E6E

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

Color values

HEX#562E6E
RGBrgb(86, 46, 110)
HSLhsl(278, 41%, 31%)
HSVhsv(278, 58%, 43%)
CMYKcmyk(21.8%, 58.2%, 0%, 56.9%)
CIE-LABlab(26.90, 30.76, -30.06)
CIE-LCHlch(26.90, 43.01, 315.66°)
OKLaboklab(38.28% 0.0734 -0.0843)
OKLCHoklch(38.28% 0.112 311.1)
XYZxyz(7.6287, 5.0584, 15.3233)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E6E #466E2E
analogous
#362E6E #562E6E #6E2E66
triadic
#562E6E #6E562E #2E6E56
tetradic
#562E6E #6E362E #466E2E #2E666E
square
#562E6E #6E362E #466E2E #2E666E
split-complementary
#562E6E #666E2E #2E6E36
monochromatic
#130A18 #341C43 #562E6E #784099 #975CBB

Accessibility & contrast

On white

10.44
#562E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562E6E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E6E#FFFFFF#000000##FFFFFF
##562E6E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#29406C
Tritanopia (blue-blind)
#533949
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562e6e;
/* rgb */ color: rgb(86, 46, 110);
/* oklch */ color: oklch(38.3% 0.112 311.1);
Tailwind
colors: {
  custom: {
    50: '#886898',
    500: '#562e6e',
    950: '#000000',
  },
}
SCSS
$custom: #562e6e;
$custom-light: #886898;
$custom-dark: #000000;
JSON
{
  "hex": "#562e6e",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 277.5,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.11178,
    "h": 311.1
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#562E6E
secondary
#739F58
accent
#D15785
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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