#6D20B1#6D20B1

#6D20B1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.208 H 302.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6D20B1
RGBrgb(109, 32, 177)
HSLhsl(272, 69%, 41%)
HSVhsv(272, 82%, 69%)
CMYKcmyk(38.4%, 81.9%, 0%, 30.6%)
CIE-LABlab(32.83, 58.27, -61.69)
CIE-LCHlch(32.83, 84.85, 313.37°)
OKLaboklab(44.77% 0.1111 -0.1762)
OKLCHoklch(44.77% 0.208 302.2)
XYZxyz(14.7571, 7.4585, 42.2486)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20B1 #64B120
analogous
#2420B1 #6D20B1 #B120AC
triadic
#6D20B1 #B16D20 #20B16D
tetradic
#6D20B1 #B12420 #64B120 #20ACB1
square
#6D20B1 #B12420 #64B120 #20ACB1
split-complementary
#6D20B1 #ACB120 #20B124
monochromatic
#2D0D49 #4D177D #6D20B1 #8C34DA #AA68E4

Accessibility & contrast

On white

8.43
#6D20B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6D20B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20B1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20B1#FFFFFF#000000##FFFFFF
##6D20B11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#5E496A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d20b1;
/* rgb */ color: rgb(109, 32, 177);
/* oklch */ color: oklch(44.8% 0.208 302.2);
Tailwind
colors: {
  custom: {
    50: '#9e66c9',
    500: '#6d20b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d20b1;
$custom-light: #9e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20b1",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 271.862,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.20832,
    "h": 302.2
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#6D20B1
secondary
#93C964
accent
#EC3C8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D20B1

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

Preview Lab → · Contrast checker → · Palette generator →

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