#6E4EAC#6E4EAC

#6E4EAC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.145 H 296.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6E4EAC
RGBrgb(110, 78, 172)
HSLhsl(260, 38%, 49%)
HSVhsv(260, 55%, 67%)
CMYKcmyk(36%, 54.7%, 0%, 32.5%)
CIE-LABlab(40.80, 34.64, -45.80)
CIE-LCHlch(40.80, 57.42, 307.10°)
OKLaboklab(50.41% 0.0648 -0.1297)
OKLCHoklch(50.41% 0.145 296.6)
XYZxyz(16.5993, 11.7421, 40.4136)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EAC #8CAC4E
analogous
#4E5DAC #6E4EAC #9D4EAC
triadic
#6E4EAC #AC6E4E #4EAC6E
tetradic
#6E4EAC #AC4E5D #8CAC4E #4EAC9D
square
#6E4EAC #AC4E5D #8CAC4E #4EAC9D
split-complementary
#6E4EAC #AC9D4E #5DAC4E
monochromatic
#382858 #533B82 #6E4EAC #9076C1 #B2A0D4

Accessibility & contrast

On white

6.27
#6E4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6E4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EAC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EAC#FFFFFF#000000##FFFFFF
##6E4EAC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#606175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4eac;
/* rgb */ color: rgb(110, 78, 172);
/* oklch */ color: oklch(50.4% 0.145 296.6);
Tailwind
colors: {
  custom: {
    50: '#9b80c5',
    500: '#6e4eac',
    950: '#000000',
  },
}
SCSS
$custom: #6e4eac;
$custom-light: #9b80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4eac",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 260.426,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.14497,
    "h": 296.6
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#6E4EAC
secondary
#B2C195
accent
#CE5AA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6E4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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