#6E408D#6E408D

#6E408D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.1% C 0.128 H 309.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6E408D
RGBrgb(110, 64, 141)
HSLhsl(276, 38%, 40%)
HSVhsv(276, 55%, 55%)
CMYKcmyk(22%, 54.6%, 0%, 44.7%)
CIE-LABlab(35.80, 34.80, -35.12)
CIE-LCHlch(35.80, 49.44, 314.74°)
OKLaboklab(46.11% 0.0822 -0.0984)
OKLCHoklch(46.11% 0.128 309.9)
XYZxyz(13.0706, 8.9051, 26.2244)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E408D #5F8D40
analogous
#47408D #6E408D #8D4085
triadic
#6E408D #8D6E40 #408D6E
tetradic
#6E408D #8D4740 #5F8D40 #40858D
square
#6E408D #8D4740 #5F8D40 #40858D
split-complementary
#6E408D #858D40 #408D47
monochromatic
#2C1A39 #4D2D63 #6E408D #8E57B3 #AA81C6

Accessibility & contrast

On white

7.55
#6E408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6E408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E408D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E408D#FFFFFF#000000##FFFFFF
##6E408D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#6A4D60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e408d;
/* rgb */ color: rgb(110, 64, 141);
/* oklch */ color: oklch(46.1% 0.128 309.9);
Tailwind
colors: {
  custom: {
    50: '#9a77af',
    500: '#6e408d',
    950: '#000000',
  },
}
SCSS
$custom: #6e408d;
$custom-light: #9a77af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e408d",
  "rgb": {
    "r": 110,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 275.844,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.12822,
    "h": 309.9
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#6E408D
secondary
#8FB078
accent
#CE5A89
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6E408D

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

Preview Lab → · Contrast checker → · Palette generator →

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