#6C22AA#6C22AA

#6C22AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.2% C 0.200 H 303.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6C22AA
RGBrgb(108, 34, 170)
HSLhsl(273, 67%, 40%)
HSVhsv(273, 80%, 67%)
CMYKcmyk(36.5%, 80%, 0%, 33.3%)
CIE-LABlab(32.33, 55.78, -58.31)
CIE-LCHlch(32.33, 80.70, 313.73°)
OKLaboklab(44.21% 0.1102 -0.1664)
OKLCHoklch(44.21% 0.2 303.5)
XYZxyz(14.0104, 7.2345, 38.6807)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22AA #60AA22
analogous
#2822AA #6C22AA #AA22A4
triadic
#6C22AA #AA6C22 #22AA6C
tetradic
#6C22AA #AA2822 #60AA22 #22A4AA
square
#6C22AA #AA2822 #60AA22 #22A4AA
split-complementary
#6C22AA #A4AA22 #22AA28
monochromatic
#2B0E44 #4C1877 #6C22AA #8C33D6 #A966E0

Accessibility & contrast

On white

8.58
#6C22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6C22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22AA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22AA#FFFFFF#000000##FFFFFF
##6C22AA1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#5F4766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c22aa;
/* rgb */ color: rgb(108, 34, 170);
/* oklch */ color: oklch(44.2% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#9c67c4',
    500: '#6c22aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c22aa;
$custom-light: #9c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22aa",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 272.647,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.19956,
    "h": 303.5
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#6C22AA
secondary
#8FC662
accent
#EA3E8C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C22AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6C22AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva