#562F70#562F70

#562F70 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.6% C 0.113 H 309.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#562F70
RGBrgb(86, 47, 112)
HSLhsl(276, 41%, 31%)
HSVhsv(276, 58%, 44%)
CMYKcmyk(23.2%, 58%, 0%, 56.1%)
CIE-LABlab(27.25, 30.68, -30.79)
CIE-LCHlch(27.25, 43.47, 314.89°)
OKLaboklab(38.57% 0.0721 -0.0864)
OKLCHoklch(38.57% 0.113 309.8)
XYZxyz(7.7783, 5.1815, 15.9165)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F70 #49702F
analogous
#352F70 #562F70 #702F69
triadic
#562F70 #70562F #2F7056
tetradic
#562F70 #70352F #49702F #2F6970
square
#562F70 #70352F #49702F #2F6970
split-complementary
#562F70 #69702F #2F7035
monochromatic
#140B1A #351D45 #562F70 #77419B #965EBB

Accessibility & contrast

On white

10.31
#562F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#562F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F70
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F70#FFFFFF#000000##FFFFFF
##562F701.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#29416E
Tritanopia (blue-blind)
#533B4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562f70;
/* rgb */ color: rgb(86, 47, 112);
/* oklch */ color: oklch(38.6% 0.113 309.8);
Tailwind
colors: {
  custom: {
    50: '#886999',
    500: '#562f70',
    950: '#000000',
  },
}
SCSS
$custom: #562f70;
$custom-light: #886999;
$custom-dark: #000000;
JSON
{
  "hex": "#562f70",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 276,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.11253,
    "h": 309.8
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#562F70
secondary
#76A15A
accent
#D15788
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #562F70

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

Preview Lab → · Contrast checker → · Palette generator →

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