#562F6A#562F6A

#562F6A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.105 H 313.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#562F6A
RGBrgb(86, 47, 106)
HSLhsl(280, 39%, 30%)
HSVhsv(280, 56%, 42%)
CMYKcmyk(18.9%, 55.7%, 0%, 58.4%)
CIE-LABlab(26.88, 29.19, -27.52)
CIE-LCHlch(26.88, 40.12, 316.68°)
OKLaboklab(38.19% 0.0716 -0.0769)
OKLCHoklch(38.19% 0.105 313)
XYZxyz(7.4553, 5.0523, 14.2153)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F6A #436A2F
analogous
#392F6A #562F6A #6A2F60
triadic
#562F6A #6A562F #2F6A56
tetradic
#562F6A #6A392F #436A2F #2F606A
square
#562F6A #6A392F #436A2F #2F606A
split-complementary
#562F6A #606A2F #2F6A39
monochromatic
#110915 #341C40 #562F6A #784294 #985CB7

Accessibility & contrast

On white

10.45
#562F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562F6A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F6A#FFFFFF#000000##FFFFFF
##562F6A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#2D4068
Tritanopia (blue-blind)
#543947
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562f6a;
/* rgb */ color: rgb(86, 47, 106);
/* oklch */ color: oklch(38.2% 0.105 313.0);
Tailwind
colors: {
  custom: {
    50: '#876995',
    500: '#562f6a',
    950: '#000000',
  },
}
SCSS
$custom: #562f6a;
$custom-light: #876995;
$custom-dark: #000000;
JSON
{
  "hex": "#562f6a",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 279.661,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.10507,
    "h": 313
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#562F6A
secondary
#709B59
accent
#CE5981
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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