#6E20A9#6E20A9

#6E20A9 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.201 H 304.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6E20A9
RGBrgb(110, 32, 169)
HSLhsl(274, 68%, 39%)
HSVhsv(274, 81%, 66%)
CMYKcmyk(34.9%, 81.1%, 0%, 33.7%)
CIE-LABlab(32.29, 56.60, -57.78)
CIE-LCHlch(32.29, 80.88, 314.41°)
OKLaboklab(44.21% 0.1149 -0.1647)
OKLCHoklch(44.21% 0.201 304.9)
XYZxyz(14.1067, 7.2127, 38.1774)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A9 #5BA920
analogous
#2A20A9 #6E20A9 #A9209F
triadic
#6E20A9 #A96E20 #20A96E
tetradic
#6E20A9 #A92A20 #5BA920 #209FA9
square
#6E20A9 #A92A20 #5BA920 #209FA9
split-complementary
#6E20A9 #9FA920 #20A92A
monochromatic
#2B0D42 #4D1676 #6E20A9 #8F2FD8 #AB62E1

Accessibility & contrast

On white

8.60
#6E20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20A9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A9#FFFFFF#000000##FFFFFF
##6E20A91.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#634565
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e20a9;
/* rgb */ color: rgb(110, 32, 169);
/* oklch */ color: oklch(44.2% 0.201 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e66c4',
    500: '#6e20a9',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a9;
$custom-light: #9e66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a9",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 274.161,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.20084,
    "h": 304.9
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#6E20A9
secondary
#8BC65F
accent
#EB3D88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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