#6E2AC4#6E2AC4

#6E2AC4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.218 H 297.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6E2AC4
RGBrgb(110, 42, 196)
HSLhsl(266, 65%, 47%)
HSVhsv(266, 79%, 77%)
CMYKcmyk(43.9%, 78.6%, 0%, 23.1%)
CIE-LABlab(35.90, 59.22, -67.88)
CIE-LCHlch(35.90, 90.08, 311.10°)
OKLaboklab(47.44% 0.0995 -0.1944)
OKLCHoklch(47.44% 0.218 297.1)
XYZxyz(17.2196, 8.9561, 53.0353)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AC4 #80C42A
analogous
#2A33C4 #6E2AC4 #BB2AC4
triadic
#6E2AC4 #C46E2A #2AC46E
tetradic
#6E2AC4 #C42A33 #80C42A #2AC4BB
square
#6E2AC4 #C42A33 #80C42A #2AC4BB
split-complementary
#6E2AC4 #C4BB2A #33C42A
monochromatic
#35145F #521F92 #6E2AC4 #8E51DA #AF84E5

Accessibility & contrast

On white

7.52
#6E2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6E2AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AC4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AC4#FFFFFF#000000##FFFFFF
##6E2AC41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#575577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e2ac4;
/* rgb */ color: rgb(110, 42, 196);
/* oklch */ color: oklch(47.4% 0.218 297.1);
Tailwind
colors: {
  custom: {
    50: '#a06cd7',
    500: '#6e2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ac4;
$custom-light: #a06cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ac4",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 266.494,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.21841,
    "h": 297.1
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#6E2AC4
secondary
#AACE7C
accent
#E8409E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6E2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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