#6E41D9#6E41D9

#6E41D9 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.217 H 290.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6E41D9
RGBrgb(110, 65, 217)
HSLhsl(258, 67%, 55%)
HSVhsv(258, 70%, 85%)
CMYKcmyk(49.3%, 70%, 0%, 14.9%)
CIE-LABlab(41.38, 54.17, -71.07)
CIE-LCHlch(41.38, 89.36, 307.32°)
OKLaboklab(51.85% 0.0754 -0.2039)
OKLCHoklch(51.85% 0.217 290.3)
XYZxyz(20.8415, 12.1045, 66.8704)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41D9 #ACD941
analogous
#4160D9 #6E41D9 #BA41D9
triadic
#6E41D9 #D96E41 #41D96E
tetradic
#6E41D9 #D94160 #ACD941 #41D9BA
square
#6E41D9 #D94160 #ACD941 #41D9BA
split-complementary
#6E41D9 #D9BA41 #60D941
monochromatic
#3A1B85 #5025B8 #6E41D9 #9574E3 #BCA7ED

Accessibility & contrast

On white

6.14
#6E41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6E41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41D9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41D9#FFFFFF#000000##FFFFFF
##6E41D91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#4A6888
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e41d9;
/* rgb */ color: rgb(110, 65, 217);
/* oklch */ color: oklch(51.9% 0.217 290.3);
Tailwind
colors: {
  custom: {
    50: '#a179e6',
    500: '#6e41d9',
    950: '#000000',
  },
}
SCSS
$custom: #6e41d9;
$custom-light: #a179e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41d9",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 257.763,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.21743,
    "h": 290.3
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#6E41D9
secondary
#C8DB9B
accent
#EA3EB7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6E41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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