#562F93#562F93

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

Color values

HEX#562F93
RGBrgb(86, 47, 147)
HSLhsl(263, 52%, 38%)
HSVhsv(263, 68%, 58%)
CMYKcmyk(41.5%, 68%, 0%, 42.4%)
CIE-LABlab(29.71, 39.96, -48.75)
CIE-LCHlch(29.71, 63.03, 309.34°)
OKLaboklab(41.15% 0.0705 -0.1391)
OKLCHoklch(41.15% 0.156 296.9)
XYZxyz(10.1194, 6.1179, 28.2458)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F93 #6C932F
analogous
#2F3A93 #562F93 #882F93
triadic
#562F93 #93562F #2F9356
tetradic
#562F93 #932F3A #6C932F #2F9388
square
#562F93 #932F3A #6C932F #2F9388
split-complementary
#562F93 #93882F #3A932F
monochromatic
#201136 #3B2065 #562F93 #713EC1 #936CD0

Accessibility & contrast

On white

9.44
#562F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562F93
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F93#FFFFFF#000000##FFFFFF
##562F931.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#47475D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562f93;
/* rgb */ color: rgb(86, 47, 147);
/* oklch */ color: oklch(41.1% 0.156 296.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ab3',
    500: '#562f93',
    950: '#000000',
  },
}
SCSS
$custom: #562f93;
$custom-light: #8b6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#562f93",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 263.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.15596,
    "h": 296.9
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#562F93
secondary
#98B766
accent
#DB4DA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #562F93

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

Preview Lab → · Contrast checker → · Palette generator →

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