#562F80#562F80

#562F80 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.133 H 303.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#562F80
RGBrgb(86, 47, 128)
HSLhsl(269, 46%, 34%)
HSVhsv(269, 63%, 50%)
CMYKcmyk(32.8%, 63.3%, 0%, 49.8%)
CIE-LABlab(28.30, 34.81, -39.23)
CIE-LCHlch(28.30, 52.45, 311.58°)
OKLaboklab(39.68% 0.0722 -0.1111)
OKLCHoklch(39.68% 0.133 303)
XYZxyz(8.7497, 5.5700, 21.0320)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F80 #59802F
analogous
#2F3080 #562F80 #7F2F80
triadic
#562F80 #80562F #2F8056
tetradic
#562F80 #802F30 #59802F #2F807F
square
#562F80 #802F30 #59802F #2F807F
split-complementary
#562F80 #807F2F #30802F
monochromatic
#1A0E26 #381F53 #562F80 #743FAD #9363C6

Accessibility & contrast

On white

9.93
#562F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#562F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F80
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F80#FFFFFF#000000##FFFFFF
##562F801.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#19437E
Tritanopia (blue-blind)
#4E4053
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562f80;
/* rgb */ color: rgb(86, 47, 128);
/* oklch */ color: oklch(39.7% 0.133 303.0);
Tailwind
colors: {
  custom: {
    50: '#896aa5',
    500: '#562f80',
    950: '#000000',
  },
}
SCSS
$custom: #562f80;
$custom-light: #896aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#562f80",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 268.889,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.13253,
    "h": 303
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#562F80
secondary
#87AD5E
accent
#D65296
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562F80

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

Preview Lab → · Contrast checker → · Palette generator →

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