#562F6D#562F6D

#562F6D is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.4% C 0.109 H 311.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#562F6D
RGBrgb(86, 47, 109)
HSLhsl(278, 40%, 31%)
HSVhsv(278, 57%, 43%)
CMYKcmyk(21.1%, 56.9%, 0%, 57.3%)
CIE-LABlab(27.06, 29.93, -29.17)
CIE-LCHlch(27.06, 41.79, 315.74°)
OKLaboklab(38.38% 0.0719 -0.0817)
OKLCHoklch(38.38% 0.109 311.4)
XYZxyz(7.6141, 5.1158, 15.0514)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F6D #466D2F
analogous
#372F6D #562F6D #6D2F65
triadic
#562F6D #6D562F #2F6D56
tetradic
#562F6D #6D372F #466D2F #2F656D
square
#562F6D #6D372F #466D2F #2F656D
split-complementary
#562F6D #656D2F #2F6D37
monochromatic
#130A17 #341D42 #562F6D #784198 #975DB9

Accessibility & contrast

On white

10.38
#562F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562F6D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F6D#FFFFFF#000000##FFFFFF
##562F6D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#2B416B
Tritanopia (blue-blind)
#533A49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562f6d;
/* rgb */ color: rgb(86, 47, 109);
/* oklch */ color: oklch(38.4% 0.109 311.4);
Tailwind
colors: {
  custom: {
    50: '#876997',
    500: '#562f6d',
    950: '#000000',
  },
}
SCSS
$custom: #562f6d;
$custom-light: #876997;
$custom-dark: #000000;
JSON
{
  "hex": "#562f6d",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 277.742,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3838,
    "c": 0.1088,
    "h": 311.4
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#562F6D
secondary
#739E59
accent
#D05884
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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