#6E20A5#6E20A5

#6E20A5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.197 H 306.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6E20A5
RGBrgb(110, 32, 165)
HSLhsl(275, 68%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.3%, 80.6%, 0%, 35.3%)
CIE-LABlab(31.95, 55.70, -55.91)
CIE-LCHlch(31.95, 78.92, 314.89°)
OKLaboklab(43.88% 0.1161 -0.1592)
OKLCHoklch(43.88% 0.197 306.1)
XYZxyz(13.7369, 7.0648, 36.2300)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A5 #57A520
analogous
#2B20A5 #6E20A5 #A52099
triadic
#6E20A5 #A56E20 #20A56E
tetradic
#6E20A5 #A52B20 #57A520 #2099A5
square
#6E20A5 #A52B20 #57A520 #2099A5
split-complementary
#6E20A5 #99A520 #20A52B
monochromatic
#2A0C3E #4C1672 #6E20A5 #902CD6 #AB5FE0

Accessibility & contrast

On white

8.70
#6E20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E20A5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A5#FFFFFF#000000##FFFFFF
##6E20A51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e20a5;
/* rgb */ color: rgb(110, 32, 165);
/* oklch */ color: oklch(43.9% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#9d66c1',
    500: '#6e20a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a5;
$custom-light: #9d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a5",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 275.188,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.19702,
    "h": 306.1
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#6E20A5
secondary
#87C55C
accent
#EA3D85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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