#6E4EA6#6E4EA6

#6E4EA6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.137 H 298.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6E4EA6
RGBrgb(110, 78, 166)
HSLhsl(262, 36%, 48%)
HSVhsv(262, 53%, 65%)
CMYKcmyk(33.7%, 53%, 0%, 34.9%)
CIE-LABlab(40.44, 33.02, -42.82)
CIE-LCHlch(40.44, 54.07, 307.64°)
OKLaboklab(50.02% 0.0645 -0.1209)
OKLCHoklch(50.02% 0.137 298.1)
XYZxyz(16.0360, 11.5168, 37.4471)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EA6 #86A64E
analogous
#4E5AA6 #6E4EA6 #9A4EA6
triadic
#6E4EA6 #A66E4E #4EA66E
tetradic
#6E4EA6 #A64E5A #86A64E #4EA69A
square
#6E4EA6 #A64E5A #86A64E #4EA69A
split-complementary
#6E4EA6 #A69A4E #5AA64E
monochromatic
#372753 #523A7C #6E4EA6 #8F74BE #B09DD1

Accessibility & contrast

On white

6.36
#6E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6E4EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EA6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EA6#FFFFFF#000000##FFFFFF
##6E4EA61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA9
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#625F72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e4ea6;
/* rgb */ color: rgb(110, 78, 166);
/* oklch */ color: oklch(50.0% 0.137 298.1);
Tailwind
colors: {
  custom: {
    50: '#9b80c1',
    500: '#6e4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ea6;
$custom-light: #9b80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ea6",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 261.818,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.13706,
    "h": 298.1
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#6E4EA6
secondary
#AEBE92
accent
#CC5CA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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