#562999#562999

#562999 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.171 H 296.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#562999
RGBrgb(86, 41, 153)
HSLhsl(264, 58%, 38%)
HSVhsv(264, 73%, 60%)
CMYKcmyk(43.8%, 73.2%, 0%, 40%)
CIE-LABlab(29.07, 44.73, -53.47)
CIE-LCHlch(29.07, 69.71, 309.92°)
OKLaboklab(40.84% 0.0757 -0.153)
OKLCHoklch(40.84% 0.171 296.3)
XYZxyz(10.3789, 5.8640, 30.7158)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562999 #6C9929
analogous
#293499 #562999 #8E2999
triadic
#562999 #995629 #299956
tetradic
#562999 #992934 #6C9929 #29998E
square
#562999 #992934 #6C9929 #29998E
split-complementary
#562999 #998E29 #349929
monochromatic
#200F38 #3B1C69 #562999 #7136C9 #9366D6

Accessibility & contrast

On white

9.66
#562999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#562999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562999
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562999#FFFFFF#000000##FFFFFF
##5629991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#44455E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562999;
/* rgb */ color: rgb(86, 41, 153);
/* oklch */ color: oklch(40.8% 0.171 296.3);
Tailwind
colors: {
  custom: {
    50: '#8c67b8',
    500: '#562999',
    950: '#000000',
  },
}
SCSS
$custom: #562999;
$custom-light: #8c67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562999",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 264.107,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.17068,
    "h": 296.3
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#562999
secondary
#98BC62
accent
#E147A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562999

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

Preview Lab → · Contrast checker → · Palette generator →

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