#6A20A6#6A20A6

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

Color values

HEX#6A20A6
RGBrgb(106, 32, 166)
HSLhsl(273, 68%, 39%)
HSVhsv(273, 81%, 65%)
CMYKcmyk(36.1%, 80.7%, 0%, 34.9%)
CIE-LABlab(31.46, 55.27, -57.34)
CIE-LCHlch(31.46, 79.64, 313.95°)
OKLaboklab(43.44% 0.11 -0.1635)
OKLCHoklch(43.44% 0.197 303.9)
XYZxyz(13.3417, 6.8504, 36.6884)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20A6 #5CA620
analogous
#2720A6 #6A20A6 #A6209F
triadic
#6A20A6 #A66A20 #20A66A
tetradic
#6A20A6 #A62720 #5CA620 #209FA6
square
#6A20A6 #A62720 #5CA620 #209FA6
split-complementary
#6A20A6 #9FA620 #20A627
monochromatic
#280C3F #491673 #6A20A6 #8A2DD6 #A760E0

Accessibility & contrast

On white

8.86
#6A20A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A20A6
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20A6#FFFFFF#000000##FFFFFF
##6A20A61.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#5E4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a20a6;
/* rgb */ color: rgb(106, 32, 166);
/* oklch */ color: oklch(43.4% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#9b65c1',
    500: '#6a20a6',
    950: '#000000',
  },
}
SCSS
$custom: #6a20a6;
$custom-light: #9b65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20a6",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 273.134,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.1971,
    "h": 303.9
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#6A20A6
secondary
#8BC55D
accent
#EB3D8B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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