#6E20BA#6E20BA

#6E20BA is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.217 H 300.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6E20BA
RGBrgb(110, 32, 186)
HSLhsl(270, 71%, 43%)
HSVhsv(270, 83%, 73%)
CMYKcmyk(40.9%, 82.8%, 0%, 27.1%)
CIE-LABlab(33.76, 60.49, -65.50)
CIE-LCHlch(33.76, 89.16, 312.72°)
OKLaboklab(45.69% 0.1097 -0.1874)
OKLCHoklch(45.69% 0.217 300.3)
XYZxyz(15.8076, 7.8930, 47.1355)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E20BA #6CBA20
analogous
#2120BA #6E20BA #BA20B9
triadic
#6E20BA #BA6E20 #20BA6E
tetradic
#6E20BA #BA2120 #6CBA20 #20B9BA
square
#6E20BA #BA2120 #6CBA20 #20B9BA
split-complementary
#6E20BA #B9BA20 #20BA21
monochromatic
#300E52 #4F1786 #6E20BA #8D3ADD #AB6EE6

Accessibility & contrast

On white

8.14
#6E20BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6E20BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E20BA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E20BA#FFFFFF#000000##FFFFFF
##6E20BA1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#5C4D6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e20ba;
/* rgb */ color: rgb(110, 32, 186);
/* oklch */ color: oklch(45.7% 0.217 300.3);
Tailwind
colors: {
  custom: {
    50: '#9f67d0',
    500: '#6e20ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e20ba;
$custom-light: #9f67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e20ba",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 186
  },
  "hsl": {
    "h": 270.39,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.21713,
    "h": 300.3
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#6E20BA
secondary
#9ACC69
accent
#ED3A93
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #6E20BA

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

Preview Lab → · Contrast checker → · Palette generator →

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