#6D20A4#6D20A4

#6D20A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.196 H 305.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6D20A4
RGBrgb(109, 32, 164)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 64%)
CMYKcmyk(33.5%, 80.5%, 0%, 35.7%)
CIE-LABlab(31.73, 55.30, -55.68)
CIE-LCHlch(31.73, 78.48, 314.80°)
OKLaboklab(43.66% 0.1149 -0.1586)
OKLCHoklch(43.66% 0.196 305.9)
XYZxyz(13.5225, 6.9647, 35.7467)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20A4 #57A420
analogous
#2B20A4 #6D20A4 #A42099
triadic
#6D20A4 #A46D20 #20A46D
tetradic
#6D20A4 #A42B20 #57A420 #2099A4
square
#6D20A4 #A42B20 #57A420 #2099A4
split-complementary
#6D20A4 #99A420 #20A42B
monochromatic
#290C3E #4B1671 #6D20A4 #8F2BD6 #AA5FE0

Accessibility & contrast

On white

8.78
#6D20A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D20A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20A4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20A4#FFFFFF#000000##FFFFFF
##6D20A41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#634363
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d20a4;
/* rgb */ color: rgb(109, 32, 164);
/* oklch */ color: oklch(43.7% 0.196 305.9);
Tailwind
colors: {
  custom: {
    50: '#9c66c0',
    500: '#6d20a4',
    950: '#000000',
  },
}
SCSS
$custom: #6d20a4;
$custom-light: #9c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20a4",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 275,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.19583,
    "h": 305.9
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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