#6E20A1#6E20A1

#6E20A1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.193 H 307.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6E20A1
RGBrgb(110, 32, 161)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 63%)
CMYKcmyk(31.7%, 80.1%, 0%, 36.9%)
CIE-LABlab(31.63, 54.80, -54.02)
CIE-LCHlch(31.63, 76.95, 315.41°)
OKLaboklab(43.55% 0.1171 -0.1537)
OKLCHoklch(43.55% 0.193 307.3)
XYZxyz(13.3786, 6.9214, 34.3425)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A1 #53A120
analogous
#2D20A1 #6E20A1 #A12093
triadic
#6E20A1 #A16E20 #20A16E
tetradic
#6E20A1 #A12D20 #53A120 #2093A1
square
#6E20A1 #A12D20 #53A120 #2093A1
split-complementary
#6E20A1 #93A120 #20A12D
monochromatic
#280C3B #4B166E #6E20A1 #912AD4 #AB5DDF

Accessibility & contrast

On white

8.81
#6E20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20A1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A1#FFFFFF#000000##FFFFFF
##6E20A11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#654261
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e20a1;
/* rgb */ color: rgb(110, 32, 161);
/* oklch */ color: oklch(43.5% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#9d66be',
    500: '#6e20a1',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a1;
$custom-light: #9d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a1",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 276.279,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.1932,
    "h": 307.3
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#6E20A1
secondary
#83C35A
accent
#EA3E82
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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