#6D20A0#6D20A0

#6D20A0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.192 H 307.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6D20A0
RGBrgb(109, 32, 160)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 63%)
CMYKcmyk(31.9%, 80%, 0%, 37.3%)
CIE-LABlab(31.40, 54.41, -53.80)
CIE-LCHlch(31.40, 76.51, 315.32°)
OKLaboklab(43.33% 0.1159 -0.153)
OKLCHoklch(43.33% 0.192 307.1)
XYZxyz(13.1670, 6.8225, 33.8741)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20A0 #53A020
analogous
#2D20A0 #6D20A0 #A02093
triadic
#6D20A0 #A06D20 #20A06D
tetradic
#6D20A0 #A02D20 #53A020 #2093A0
square
#6D20A0 #A02D20 #53A020 #2093A0
split-complementary
#6D20A0 #93A020 #20A02D
monochromatic
#280C3A #4A166D #6D20A0 #902AD3 #AA5CDE

Accessibility & contrast

On white

8.88
#6D20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20A0
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20A0#FFFFFF#000000##FFFFFF
##6D20A01.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#644160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d20a0;
/* rgb */ color: rgb(109, 32, 160);
/* oklch */ color: oklch(43.3% 0.192 307.1);
Tailwind
colors: {
  custom: {
    50: '#9c65bd',
    500: '#6d20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6d20a0;
$custom-light: #9c65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20a0",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 276.094,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.19199,
    "h": 307.1
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#6D20A0
secondary
#83C359
accent
#EA3E82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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