#562F6C#562F6C

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

Color values

HEX#562F6C
RGBrgb(86, 47, 108)
HSLhsl(278, 39%, 30%)
HSVhsv(278, 56%, 42%)
CMYKcmyk(20.4%, 56.5%, 0%, 57.6%)
CIE-LABlab(27.00, 29.68, -28.62)
CIE-LCHlch(27.00, 41.23, 316.04°)
OKLaboklab(38.32% 0.0718 -0.0801)
OKLCHoklch(38.32% 0.108 311.9)
XYZxyz(7.5606, 5.0943, 14.7695)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F6C #456C2F
analogous
#372F6C #562F6C #6C2F63
triadic
#562F6C #6C562F #2F6C56
tetradic
#562F6C #6C372F #456C2F #2F636C
square
#562F6C #6C372F #456C2F #2F636C
split-complementary
#562F6C #636C2F #2F6C37
monochromatic
#120A17 #341C41 #562F6C #784297 #975DB8

Accessibility & contrast

On white

10.40
#562F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562F6C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F6C#FFFFFF#000000##FFFFFF
##562F6C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6E
Deuteranopia (green-blind)
#2B416A
Tritanopia (blue-blind)
#543948
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562f6c;
/* rgb */ color: rgb(86, 47, 108);
/* oklch */ color: oklch(38.3% 0.108 311.9);
Tailwind
colors: {
  custom: {
    50: '#876996',
    500: '#562f6c',
    950: '#000000',
  },
}
SCSS
$custom: #562f6c;
$custom-light: #876996;
$custom-dark: #000000;
JSON
{
  "hex": "#562f6c",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 278.361,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.10755,
    "h": 311.9
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#562F6C
secondary
#729D59
accent
#CF5983
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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