#6E20A4#6E20A4

#6E20A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.196 H 306.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6E20A4
RGBrgb(110, 32, 164)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 64%)
CMYKcmyk(32.9%, 80.5%, 0%, 35.7%)
CIE-LABlab(31.87, 55.47, -55.44)
CIE-LCHlch(31.87, 78.43, 315.02°)
OKLaboklab(43.8% 0.1163 -0.1578)
OKLCHoklch(43.8% 0.196 306.4)
XYZxyz(13.6463, 7.0285, 35.7525)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A4 #56A420
analogous
#2C20A4 #6E20A4 #A42098
triadic
#6E20A4 #A46E20 #20A46E
tetradic
#6E20A4 #A42C20 #56A420 #2098A4
square
#6E20A4 #A42C20 #56A420 #2098A4
split-complementary
#6E20A4 #98A420 #20A42C
monochromatic
#290C3E #4C1671 #6E20A4 #902BD6 #AB5FE0

Accessibility & contrast

On white

8.73
#6E20A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E20A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20A4
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A4#FFFFFF#000000##FFFFFF
##6E20A41.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#644363
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e20a4;
/* rgb */ color: rgb(110, 32, 164);
/* oklch */ color: oklch(43.8% 0.196 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d66c0',
    500: '#6e20a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a4;
$custom-light: #9d66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a4",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 275.455,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.19607,
    "h": 306.4
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#6E20A4
secondary
#86C45C
accent
#EA3E84
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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