#6E41E5#6E41E5

#6E41E5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.231 H 288.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6E41E5
RGBrgb(110, 65, 229)
HSLhsl(256, 76%, 58%)
HSVhsv(256, 72%, 90%)
CMYKcmyk(52%, 71.6%, 0%, 10.2%)
CIE-LABlab(42.39, 57.45, -76.27)
CIE-LCHlch(42.39, 95.49, 306.99°)
OKLaboklab(52.88% 0.073 -0.2192)
OKLCHoklch(52.88% 0.231 288.4)
XYZxyz(22.4594, 12.7517, 75.3914)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41E5 #B8E541
analogous
#4166E5 #6E41E5 #C041E5
triadic
#6E41E5 #E56E41 #41E56E
tetradic
#6E41E5 #E54166 #B8E541 #41E5C0
square
#6E41E5 #E54166 #B8E541 #41E5C0
split-complementary
#6E41E5 #E5C041 #66E541
monochromatic
#381597 #4D1CCD #6E41E5 #9777EC #C0ADF4

Accessibility & contrast

On white

5.91
#6E41E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6E41E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41E5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41E5#FFFFFF#000000##FFFFFF
##6E41E51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#406D8F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e41e5;
/* rgb */ color: rgb(110, 65, 229);
/* oklch */ color: oklch(52.9% 0.231 288.4);
Tailwind
colors: {
  custom: {
    50: '#a27aee',
    500: '#6e41e5',
    950: '#000000',
  },
}
SCSS
$custom: #6e41e5;
$custom-light: #a27aee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41e5",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 229
  },
  "hsl": {
    "h": 256.463,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.23102,
    "h": 288.4
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#6E41E5
secondary
#D0E2A0
accent
#F335BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6E41E5

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

Preview Lab → · Contrast checker → · Palette generator →

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