#6E20A0#6E20A0

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

Color values

HEX#6E20A0
RGBrgb(110, 32, 160)
HSLhsl(277, 67%, 38%)
HSVhsv(277, 80%, 63%)
CMYKcmyk(31.2%, 80%, 0%, 37.3%)
CIE-LABlab(31.55, 54.58, -53.55)
CIE-LCHlch(31.55, 76.46, 315.55°)
OKLaboklab(43.47% 0.1174 -0.1523)
OKLCHoklch(43.47% 0.192 307.6)
XYZxyz(13.2907, 6.8863, 33.8799)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20A0 #52A020
analogous
#2E20A0 #6E20A0 #A02092
triadic
#6E20A0 #A06E20 #20A06E
tetradic
#6E20A0 #A02E20 #52A020 #2092A0
square
#6E20A0 #A02E20 #52A020 #2092A0
split-complementary
#6E20A0 #92A020 #20A02E
monochromatic
#280C3A #4B166D #6E20A0 #912AD3 #AB5CDE

Accessibility & contrast

On white

8.83
#6E20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E20A0
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20A0#FFFFFF#000000##FFFFFF
##6E20A01.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#664160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e20a0;
/* rgb */ color: rgb(110, 32, 160);
/* oklch */ color: oklch(43.5% 0.192 307.6);
Tailwind
colors: {
  custom: {
    50: '#9d65bd',
    500: '#6e20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6e20a0;
$custom-light: #9d65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20a0",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 276.563,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.19225,
    "h": 307.6
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#6E20A0
secondary
#82C359
accent
#EA3E81
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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