#6E4EAB#6E4EAB

#6E4EAB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.144 H 296.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6E4EAB
RGBrgb(110, 78, 171)
HSLhsl(261, 37%, 49%)
HSVhsv(261, 54%, 67%)
CMYKcmyk(35.7%, 54.4%, 0%, 32.9%)
CIE-LABlab(40.74, 34.37, -45.30)
CIE-LCHlch(40.74, 56.86, 307.19°)
OKLaboklab(50.35% 0.0648 -0.1282)
OKLCHoklch(50.35% 0.144 296.8)
XYZxyz(16.5036, 11.7038, 39.9097)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EAB #8BAB4E
analogous
#4E5DAB #6E4EAB #9D4EAB
triadic
#6E4EAB #AB6E4E #4EAB6E
tetradic
#6E4EAB #AB4E5D #8BAB4E #4EAB9D
square
#6E4EAB #AB4E5D #8BAB4E #4EAB9D
split-complementary
#6E4EAB #AB9D4E #5DAB4E
monochromatic
#382857 #533B81 #6E4EAB #8F76C0 #B2A0D4

Accessibility & contrast

On white

6.29
#6E4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6E4EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EAB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EAB#FFFFFF#000000##FFFFFF
##6E4EAB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#606175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4eab;
/* rgb */ color: rgb(110, 78, 171);
/* oklch */ color: oklch(50.3% 0.144 296.8);
Tailwind
colors: {
  custom: {
    50: '#9b80c4',
    500: '#6e4eab',
    950: '#000000',
  },
}
SCSS
$custom: #6e4eab;
$custom-light: #9b80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4eab",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 260.645,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.14366,
    "h": 296.8
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#6E4EAB
secondary
#B1C194
accent
#CD5AA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6E4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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