#6E41B4#6E41B4

#6E41B4 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.174 H 297.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6E41B4
RGBrgb(110, 65, 180)
HSLhsl(263, 47%, 48%)
HSVhsv(263, 64%, 71%)
CMYKcmyk(38.9%, 63.9%, 0%, 29.4%)
CIE-LABlab(38.53, 44.18, -54.18)
CIE-LCHlch(38.53, 69.91, 309.20°)
OKLaboklab(48.92% 0.0806 -0.1543)
OKLCHoklch(48.92% 0.174 297.6)
XYZxyz(16.5568, 10.3906, 44.3044)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41B4 #87B441
analogous
#414DB4 #6E41B4 #A741B4
triadic
#6E41B4 #B46E41 #41B46E
tetradic
#6E41B4 #B4414D #87B441 #41B4A7
square
#6E41B4 #B4414D #87B441 #41B4A7
split-complementary
#6E41B4 #B4A741 #4DB441
monochromatic
#37215A #533187 #6E41B4 #8F69C9 #B096D9

Accessibility & contrast

On white

6.82
#6E41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6E41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41B4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41B4#FFFFFF#000000##FFFFFF
##6E41B41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#5D5B74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6e41b4;
/* rgb */ color: rgb(110, 65, 180);
/* oklch */ color: oklch(48.9% 0.174 297.6);
Tailwind
colors: {
  custom: {
    50: '#9d78cb',
    500: '#6e41b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e41b4;
$custom-light: #9d78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41b4",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 263.478,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.17409,
    "h": 297.6
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#6E41B4
secondary
#AFC58C
accent
#D751A2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6E41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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