#6B20AA#6B20AA

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

Color values

HEX#6B20AA
RGBrgb(107, 32, 170)
HSLhsl(273, 68%, 40%)
HSVhsv(273, 81%, 67%)
CMYKcmyk(37.1%, 81.2%, 0%, 33.3%)
CIE-LABlab(31.95, 56.35, -58.95)
CIE-LCHlch(31.95, 81.55, 313.71°)
OKLaboklab(43.91% 0.1103 -0.1683)
OKLCHoklch(43.91% 0.201 303.2)
XYZxyz(13.8339, 7.0611, 38.6565)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20AA #5FAA20
analogous
#2620AA #6B20AA #AA20A4
triadic
#6B20AA #AA6B20 #20AA6B
tetradic
#6B20AA #AA2620 #5FAA20 #20A4AA
square
#6B20AA #AA2620 #5FAA20 #20A4AA
split-complementary
#6B20AA #A4AA20 #20AA26
monochromatic
#2A0D43 #4B1676 #6B20AA #8B2FD8 #A863E2

Accessibility & contrast

On white

8.71
#6B20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6B20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20AA
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20AA#FFFFFF#000000##FFFFFF
##6B20AA1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b20aa;
/* rgb */ color: rgb(107, 32, 170);
/* oklch */ color: oklch(43.9% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#9c66c4',
    500: '#6b20aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b20aa;
$custom-light: #9c66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20aa",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 272.609,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.20119,
    "h": 303.2
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#6B20AA
secondary
#8EC75F
accent
#EB3D8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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