#6B20AD#6B20AD

#6B20AD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.204 H 302.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6B20AD
RGBrgb(107, 32, 173)
HSLhsl(272, 69%, 40%)
HSVhsv(272, 82%, 68%)
CMYKcmyk(38.2%, 81.5%, 0%, 32.2%)
CIE-LABlab(32.20, 57.04, -60.33)
CIE-LCHlch(32.20, 83.03, 313.39°)
OKLaboklab(44.17% 0.1094 -0.1723)
OKLCHoklch(44.17% 0.204 302.4)
XYZxyz(14.1209, 7.1759, 40.1682)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20AD #62AD20
analogous
#2520AD #6B20AD #AD20A8
triadic
#6B20AD #AD6B20 #20AD6B
tetradic
#6B20AD #AD2520 #62AD20 #20A8AD
square
#6B20AD #AD2520 #62AD20 #20A8AD
split-complementary
#6B20AD #A8AD20 #20AD25
monochromatic
#2B0D46 #4B1679 #6B20AD #8A31D9 #A865E2

Accessibility & contrast

On white

8.62
#6B20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6B20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20AD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20AD#FFFFFF#000000##FFFFFF
##6B20AD1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#5D4768
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b20ad;
/* rgb */ color: rgb(107, 32, 173);
/* oklch */ color: oklch(44.2% 0.204 302.4);
Tailwind
colors: {
  custom: {
    50: '#9c66c6',
    500: '#6b20ad',
    950: '#000000',
  },
}
SCSS
$custom: #6b20ad;
$custom-light: #9c66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20ad",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 271.915,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.2041,
    "h": 302.4
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#6B20AD
secondary
#91C861
accent
#EC3C8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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