#562F77#562F77

#562F77 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.121 H 306.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#562F77
RGBrgb(86, 47, 119)
HSLhsl(273, 43%, 33%)
HSVhsv(273, 61%, 47%)
CMYKcmyk(27.7%, 60.5%, 0%, 53.3%)
CIE-LABlab(27.69, 32.46, -34.54)
CIE-LCHlch(27.69, 47.39, 313.22°)
OKLaboklab(39.05% 0.0723 -0.0974)
OKLCHoklch(39.05% 0.121 306.6)
XYZxyz(8.1833, 5.3435, 18.0495)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F77 #50772F
analogous
#322F77 #562F77 #772F74
triadic
#562F77 #77562F #2F7756
tetradic
#562F77 #77322F #50772F #2F7477
square
#562F77 #77322F #50772F #2F7477
split-complementary
#562F77 #74772F #2F7732
monochromatic
#170C1F #361E4B #562F77 #7640A3 #9460C0

Accessibility & contrast

On white

10.15
#562F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F77
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F77#FFFFFF#000000##FFFFFF
##562F771.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#513D4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562f77;
/* rgb */ color: rgb(86, 47, 119);
/* oklch */ color: oklch(39.0% 0.121 306.6);
Tailwind
colors: {
  custom: {
    50: '#88699f',
    500: '#562f77',
    950: '#000000',
  },
}
SCSS
$custom: #562f77;
$custom-light: #88699f;
$custom-dark: #000000;
JSON
{
  "hex": "#562f77",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 272.5,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.1213,
    "h": 306.6
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#562F77
secondary
#7EA75B
accent
#D3558F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562F77

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

Preview Lab → · Contrast checker → · Palette generator →

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