#6E20AC#6E20AC

#6E20AC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.204 H 304.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6E20AC
RGBrgb(110, 32, 172)
HSLhsl(273, 69%, 40%)
HSVhsv(273, 81%, 67%)
CMYKcmyk(36%, 81.4%, 0%, 32.5%)
CIE-LABlab(32.54, 57.28, -59.17)
CIE-LCHlch(32.54, 82.35, 314.07°)
OKLaboklab(44.47% 0.1141 -0.1688)
OKLCHoklch(44.47% 0.204 304.1)
XYZxyz(14.3916, 7.3266, 39.6777)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20AC #5EAC20
analogous
#2820AC #6E20AC #AC20A4
triadic
#6E20AC #AC6E20 #20AC6E
tetradic
#6E20AC #AC2820 #5EAC20 #20A4AC
square
#6E20AC #AC2820 #5EAC20 #20A4AC
split-complementary
#6E20AC #A4AC20 #20AC28
monochromatic
#2C0D45 #4D1678 #6E20AC #8E31D9 #AA64E2

Accessibility & contrast

On white

8.52
#6E20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20AC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20AC#FFFFFF#000000##FFFFFF
##6E20AC1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#624667
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e20ac;
/* rgb */ color: rgb(110, 32, 172);
/* oklch */ color: oklch(44.5% 0.204 304.1);
Tailwind
colors: {
  custom: {
    50: '#9e66c6',
    500: '#6e20ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e20ac;
$custom-light: #9e66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20ac",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 273.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.20372,
    "h": 304.1
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#6E20AC
secondary
#8EC760
accent
#EB3C8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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