#6E20B1#6E20B1

#6E20B1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.209 H 302.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6E20B1
RGBrgb(110, 32, 177)
HSLhsl(272, 69%, 41%)
HSVhsv(272, 82%, 69%)
CMYKcmyk(37.9%, 81.9%, 0%, 30.6%)
CIE-LABlab(32.97, 58.42, -61.45)
CIE-LCHlch(32.97, 84.79, 313.55°)
OKLaboklab(44.9% 0.1126 -0.1755)
OKLCHoklch(44.9% 0.209 302.7)
XYZxyz(14.8808, 7.5223, 42.2544)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20B1 #63B120
analogous
#2520B1 #6E20B1 #B120AB
triadic
#6E20B1 #B16E20 #20B16E
tetradic
#6E20B1 #B12520 #63B120 #20ABB1
square
#6E20B1 #B12520 #63B120 #20ABB1
split-complementary
#6E20B1 #ABB120 #20B125
monochromatic
#2E0D49 #4E177D #6E20B1 #8D34DA #AA68E4

Accessibility & contrast

On white

8.39
#6E20B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E20B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20B1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20B1#FFFFFF#000000##FFFFFF
##6E20B11.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#60496A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e20b1;
/* rgb */ color: rgb(110, 32, 177);
/* oklch */ color: oklch(44.9% 0.209 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e66c9',
    500: '#6e20b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e20b1;
$custom-light: #9e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20b1",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 272.276,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.20851,
    "h": 302.7
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E20B1

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

Preview Lab → · Contrast checker → · Palette generator →

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