#6E41D4#6E41D4

#6E41D4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.212 H 291.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6E41D4
RGBrgb(110, 65, 212)
HSLhsl(258, 63%, 54%)
HSVhsv(258, 69%, 83%)
CMYKcmyk(48.1%, 69.3%, 0%, 16.9%)
CIE-LABlab(40.97, 52.81, -68.86)
CIE-LCHlch(40.97, 86.78, 307.48°)
OKLaboklab(51.44% 0.0763 -0.1975)
OKLCHoklch(51.44% 0.212 291.1)
XYZxyz(20.2010, 11.8483, 63.4972)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41D4 #A7D441
analogous
#415ED4 #6E41D4 #B741D4
triadic
#6E41D4 #D46E41 #41D46E
tetradic
#6E41D4 #D4415E #A7D441 #41D4B7
square
#6E41D4 #D4415E #A7D441 #41D4B7
split-complementary
#6E41D4 #D4B741 #5ED441
monochromatic
#3A1D7E #5228B0 #6E41D4 #9473DF #BAA5EB

Accessibility & contrast

On white

6.23
#6E41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6E41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41D4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41D4#FFFFFF#000000##FFFFFF
##6E41D41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#4D6686
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e41d4;
/* rgb */ color: rgb(110, 65, 212);
/* oklch */ color: oklch(51.4% 0.212 291.1);
Tailwind
colors: {
  custom: {
    50: '#a079e2',
    500: '#6e41d4',
    950: '#000000',
  },
}
SCSS
$custom: #6e41d4;
$custom-light: #a079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41d4",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 258.367,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.21169,
    "h": 291.1
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#6E41D4
secondary
#C4D899
accent
#E642B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #6E41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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