#562996#562996

#562996 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.167 H 297.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#562996
RGBrgb(86, 41, 150)
HSLhsl(265, 57%, 37%)
HSVhsv(265, 73%, 59%)
CMYKcmyk(42.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(28.81, 43.93, -52.04)
CIE-LCHlch(28.81, 68.10, 310.17°)
OKLaboklab(40.59% 0.0763 -0.1488)
OKLCHoklch(40.59% 0.167 297.2)
XYZxyz(10.1343, 5.7661, 29.4273)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562996 #699629
analogous
#293296 #562996 #8D2996
triadic
#562996 #965629 #299656
tetradic
#562996 #962932 #699629 #29968D
square
#562996 #962932 #699629 #29968D
split-complementary
#562996 #968D29 #329629
monochromatic
#1F0F36 #3A1C66 #562996 #7236C6 #9365D5

Accessibility & contrast

On white

9.75
#562996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562996
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562996#FFFFFF#000000##FFFFFF
##5629961.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#46445D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562996;
/* rgb */ color: rgb(86, 41, 150);
/* oklch */ color: oklch(40.6% 0.167 297.2);
Tailwind
colors: {
  custom: {
    50: '#8c67b6',
    500: '#562996',
    950: '#000000',
  },
}
SCSS
$custom: #562996;
$custom-light: #8c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#562996",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 264.771,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.16721,
    "h": 297.2
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#562996
secondary
#95BB60
accent
#E047A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562996

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

Preview Lab → · Contrast checker → · Palette generator →

#562996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva