#562E95#562E95

#562E95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.160 H 296.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#562E95
RGBrgb(86, 46, 149)
HSLhsl(263, 53%, 38%)
HSVhsv(263, 69%, 58%)
CMYKcmyk(42.3%, 69.1%, 0%, 41.6%)
CIE-LABlab(29.67, 41.05, -50.04)
CIE-LCHlch(29.67, 64.72, 309.37°)
OKLaboklab(41.17% 0.0713 -0.1429)
OKLCHoklch(41.17% 0.16 296.5)
XYZxyz(10.2381, 6.1021, 29.0664)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E95 #6D952E
analogous
#2E3995 #562E95 #892E95
triadic
#562E95 #95562E #2E9556
tetradic
#562E95 #952E39 #6D952E #2E9589
square
#562E95 #952E39 #6D952E #2E9589
split-complementary
#562E95 #95892E #39952E
monochromatic
#201137 #3B2066 #562E95 #713DC3 #936CD2

Accessibility & contrast

On white

9.46
#562E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562E95
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E95#FFFFFF#000000##FFFFFF
##562E951.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#46475D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562e95;
/* rgb */ color: rgb(86, 46, 149);
/* oklch */ color: oklch(41.2% 0.160 296.5);
Tailwind
colors: {
  custom: {
    50: '#8b6ab5',
    500: '#562e95',
    950: '#000000',
  },
}
SCSS
$custom: #562e95;
$custom-light: #8b6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#562e95",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 263.301,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.15971,
    "h": 296.5
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#562E95
secondary
#99B966
accent
#DC4CA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562E95

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

Preview Lab → · Contrast checker → · Palette generator →

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