#562F92#562F92

#562F92 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.155 H 297.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#562F92
RGBrgb(86, 47, 146)
HSLhsl(264, 51%, 38%)
HSVhsv(264, 68%, 57%)
CMYKcmyk(41.1%, 67.8%, 0%, 42.7%)
CIE-LABlab(29.63, 39.69, -48.26)
CIE-LCHlch(29.63, 62.48, 309.43°)
OKLaboklab(41.07% 0.0706 -0.1377)
OKLCHoklch(41.07% 0.155 297.2)
XYZxyz(10.0412, 6.0866, 27.8344)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F92 #6B922F
analogous
#2F3A92 #562F92 #872F92
triadic
#562F92 #92562F #2F9256
tetradic
#562F92 #922F3A #6B922F #2F9287
square
#562F92 #922F3A #6B922F #2F9287
split-complementary
#562F92 #92872F #3A922F
monochromatic
#1F1135 #3B2064 #562F92 #713EC0 #936CD0

Accessibility & contrast

On white

9.47
#562F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#562F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F92
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F92#FFFFFF#000000##FFFFFF
##562F921.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#47465C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562f92;
/* rgb */ color: rgb(86, 47, 146);
/* oklch */ color: oklch(41.1% 0.155 297.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ab3',
    500: '#562f92',
    950: '#000000',
  },
}
SCSS
$custom: #562f92;
$custom-light: #8b6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#562f92",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 263.636,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.15474,
    "h": 297.2
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#562F92
secondary
#97B766
accent
#DB4DA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #562F92

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

Preview Lab → · Contrast checker → · Palette generator →

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