#562E72#562E72

#562E72 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.5% C 0.117 H 309.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#562E72
RGBrgb(86, 46, 114)
HSLhsl(275, 43%, 31%)
HSVhsv(275, 60%, 45%)
CMYKcmyk(24.6%, 59.6%, 0%, 55.3%)
CIE-LABlab(27.15, 31.76, -32.22)
CIE-LCHlch(27.15, 45.24, 314.59°)
OKLaboklab(38.55% 0.0736 -0.0906)
OKLCHoklch(38.55% 0.117 309.1)
XYZxyz(7.8514, 5.1475, 16.4963)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E72 #4A722E
analogous
#342E72 #562E72 #722E6C
triadic
#562E72 #72562E #2E7256
tetradic
#562E72 #72342E #4A722E #2E6C72
square
#562E72 #72342E #4A722E #2E6C72
split-complementary
#562E72 #6C722E #2E7234
monochromatic
#140B1B #351C46 #562E72 #77409E #965DBE

Accessibility & contrast

On white

10.35
#562E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E72
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E72#FFFFFF#000000##FFFFFF
##562E721.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E74
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#523A4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562e72;
/* rgb */ color: rgb(86, 46, 114);
/* oklch */ color: oklch(38.5% 0.117 309.1);
Tailwind
colors: {
  custom: {
    50: '#88699b',
    500: '#562e72',
    950: '#000000',
  },
}
SCSS
$custom: #562e72;
$custom-light: #88699b;
$custom-dark: #000000;
JSON
{
  "hex": "#562e72",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 275.294,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.11673,
    "h": 309.1
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#562E72
secondary
#77A358
accent
#D25689
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562E72

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

Preview Lab → · Contrast checker → · Palette generator →

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