#6C20AA#6C20AA

#6C20AA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.201 H 303.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6C20AA
RGBrgb(108, 32, 170)
HSLhsl(273, 68%, 40%)
HSVhsv(273, 81%, 67%)
CMYKcmyk(36.5%, 81.2%, 0%, 33.3%)
CIE-LABlab(32.09, 56.51, -58.72)
CIE-LCHlch(32.09, 81.49, 313.90°)
OKLaboklab(44.04% 0.1118 -0.1675)
OKLCHoklch(44.04% 0.201 303.7)
XYZxyz(13.9549, 7.1235, 38.6622)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20AA #5EAA20
analogous
#2720AA #6C20AA #AA20A3
triadic
#6C20AA #AA6C20 #20AA6C
tetradic
#6C20AA #AA2720 #5EAA20 #20A3AA
square
#6C20AA #AA2720 #5EAA20 #20A3AA
split-complementary
#6C20AA #A3AA20 #20AA27
monochromatic
#2B0D43 #4B1676 #6C20AA #8C2FD8 #A963E2

Accessibility & contrast

On white

8.66
#6C20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6C20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20AA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20AA#FFFFFF#000000##FFFFFF
##6C20AA1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#5F4666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c20aa;
/* rgb */ color: rgb(108, 32, 170);
/* oklch */ color: oklch(44.0% 0.201 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c66c4',
    500: '#6c20aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c20aa;
$custom-light: #9c66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20aa",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 273.043,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.20139,
    "h": 303.7
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#6C20AA
secondary
#8EC75F
accent
#EB3D8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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