#6E20A3#6E20A3

#6E20A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.195 H 306.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6E20A3
RGBrgb(110, 32, 163)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 64%)
CMYKcmyk(32.5%, 80.4%, 0%, 36.1%)
CIE-LABlab(31.79, 55.25, -54.97)
CIE-LCHlch(31.79, 77.94, 315.14°)
OKLaboklab(43.71% 0.1166 -0.1564)
OKLCHoklch(43.71% 0.195 306.7)
XYZxyz(13.5563, 6.9925, 35.2788)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A3 #55A320
analogous
#2C20A3 #6E20A3 #A32096
triadic
#6E20A3 #A36E20 #20A36E
tetradic
#6E20A3 #A32C20 #55A320 #2096A3
square
#6E20A3 #A32C20 #55A320 #2096A3
split-complementary
#6E20A3 #96A320 #20A32C
monochromatic
#290C3D #4B1670 #6E20A3 #902BD5 #AB5EDF

Accessibility & contrast

On white

8.76
#6E20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20A3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A3#FFFFFF#000000##FFFFFF
##6E20A31.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#654262
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e20a3;
/* rgb */ color: rgb(110, 32, 163);
/* oklch */ color: oklch(43.7% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#9d66bf',
    500: '#6e20a3',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a3;
$custom-light: #9d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a3",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 275.725,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.19511,
    "h": 306.7
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#6E20A3
secondary
#85C45B
accent
#EA3E83
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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