#6C20A3#6C20A3

#6C20A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.195 H 305.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C20A3
RGBrgb(108, 32, 163)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 64%)
CMYKcmyk(33.7%, 80.4%, 0%, 36.1%)
CIE-LABlab(31.50, 54.91, -55.46)
CIE-LCHlch(31.50, 78.04, 314.72°)
OKLaboklab(43.45% 0.1137 -0.1579)
OKLCHoklch(43.45% 0.195 305.8)
XYZxyz(13.3102, 6.8656, 35.2672)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20A3 #57A320
analogous
#2A20A3 #6C20A3 #A32098
triadic
#6C20A3 #A36C20 #20A36C
tetradic
#6C20A3 #A32A20 #57A320 #2098A3
square
#6C20A3 #A32A20 #57A320 #2098A3
split-complementary
#6C20A3 #98A320 #20A32A
monochromatic
#280C3D #4A1670 #6C20A3 #8E2BD5 #A95EDF

Accessibility & contrast

On white

8.85
#6C20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20A3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20A3#FFFFFF#000000##FFFFFF
##6C20A31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#624362
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c20a3;
/* rgb */ color: rgb(108, 32, 163);
/* oklch */ color: oklch(43.4% 0.195 305.8);
Tailwind
colors: {
  custom: {
    50: '#9c65bf',
    500: '#6c20a3',
    950: '#000000',
  },
}
SCSS
$custom: #6c20a3;
$custom-light: #9c65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20a3",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 274.809,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.19463,
    "h": 305.8
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#6C20A3
secondary
#87C45B
accent
#EA3E86
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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