#6E20A2#6E20A2

#6E20A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.194 H 307.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6E20A2
RGBrgb(110, 32, 162)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 64%)
CMYKcmyk(32.1%, 80.2%, 0%, 36.5%)
CIE-LABlab(31.71, 55.02, -54.50)
CIE-LCHlch(31.71, 77.45, 315.28°)
OKLaboklab(43.63% 0.1168 -0.1551)
OKLCHoklch(43.63% 0.194 307)
XYZxyz(13.4671, 6.9568, 34.8088)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A2 #54A220
analogous
#2D20A2 #6E20A2 #A22095
triadic
#6E20A2 #A26E20 #20A26E
tetradic
#6E20A2 #A22D20 #54A220 #2095A2
square
#6E20A2 #A22D20 #54A220 #2095A2
split-complementary
#6E20A2 #95A220 #20A22D
monochromatic
#290C3C #4B166F #6E20A2 #912AD5 #AB5DDF

Accessibility & contrast

On white

8.78
#6E20A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E20A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20A2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A2#FFFFFF#000000##FFFFFF
##6E20A21.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#654261
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e20a2;
/* rgb */ color: rgb(110, 32, 162);
/* oklch */ color: oklch(43.6% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#9d66be',
    500: '#6e20a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a2;
$custom-light: #9d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a2",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 276,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.19416,
    "h": 307
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#6E20A2
secondary
#84C35A
accent
#EA3E83
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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