#6E41BA#6E41BA

#6E41BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.181 H 296.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6E41BA
RGBrgb(110, 65, 186)
HSLhsl(262, 48%, 49%)
HSVhsv(262, 65%, 73%)
CMYKcmyk(40.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.97, 45.78, -57.01)
CIE-LCHlch(38.97, 73.12, 308.76°)
OKLaboklab(49.37% 0.08 -0.1626)
OKLCHoklch(49.37% 0.181 296.2)
XYZxyz(17.1813, 10.6404, 47.5934)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41BA #8DBA41
analogous
#4151BA #6E41BA #AB41BA
triadic
#6E41BA #BA6E41 #41BA6E
tetradic
#6E41BA #BA4151 #8DBA41 #41BAAB
square
#6E41BA #BA4151 #8DBA41 #41BAAB
split-complementary
#6E41BA #BAAB41 #51BA41
monochromatic
#38215F #53318D #6E41BA #906CCC #B29ADC

Accessibility & contrast

On white

6.71
#6E41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6E41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41BA#FFFFFF#000000##FFFFFF
##6E41BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#5B5D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6e41ba;
/* rgb */ color: rgb(110, 65, 186);
/* oklch */ color: oklch(49.4% 0.181 296.2);
Tailwind
colors: {
  custom: {
    50: '#9d78d0',
    500: '#6e41ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e41ba;
$custom-light: #9d78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41ba",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 262.314,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.18126,
    "h": 296.2
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#6E41BA
secondary
#B3C88F
accent
#D850A5
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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