#6D20A2#6D20A2

#6D20A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.194 H 306.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6D20A2
RGBrgb(109, 32, 162)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 64%)
CMYKcmyk(32.7%, 80.2%, 0%, 36.5%)
CIE-LABlab(31.56, 54.85, -54.74)
CIE-LCHlch(31.56, 77.50, 315.06°)
OKLaboklab(43.5% 0.1154 -0.1558)
OKLCHoklch(43.5% 0.194 306.5)
XYZxyz(13.3433, 6.8930, 34.8030)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20A2 #55A220
analogous
#2C20A2 #6D20A2 #A22096
triadic
#6D20A2 #A26D20 #20A26D
tetradic
#6D20A2 #A22C20 #55A220 #2096A2
square
#6D20A2 #A22C20 #55A220 #2096A2
split-complementary
#6D20A2 #96A220 #20A22C
monochromatic
#280C3C #4B166F #6D20A2 #8F2AD5 #AA5DDF

Accessibility & contrast

On white

8.83
#6D20A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6D20A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20A2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20A2#FFFFFF#000000##FFFFFF
##6D20A21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#644261
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d20a2;
/* rgb */ color: rgb(109, 32, 162);
/* oklch */ color: oklch(43.5% 0.194 306.5);
Tailwind
colors: {
  custom: {
    50: '#9c65be',
    500: '#6d20a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d20a2;
$custom-light: #9c65be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20a2",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 275.538,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.19391,
    "h": 306.5
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#6D20A2
secondary
#85C35A
accent
#EA3E84
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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