#6E41B7#6E41B7

#6E41B7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.178 H 296.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6E41B7
RGBrgb(110, 65, 183)
HSLhsl(263, 48%, 49%)
HSVhsv(263, 64%, 72%)
CMYKcmyk(39.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(38.75, 44.98, -55.60)
CIE-LCHlch(38.75, 71.51, 308.97°)
OKLaboklab(49.14% 0.0803 -0.1585)
OKLCHoklch(49.14% 0.178 296.9)
XYZxyz(16.8657, 10.5142, 45.9314)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41B7 #8AB741
analogous
#414FB7 #6E41B7 #A941B7
triadic
#6E41B7 #B76E41 #41B76E
tetradic
#6E41B7 #B7414F #8AB741 #41B7A9
square
#6E41B7 #B7414F #8AB741 #41B7A9
split-complementary
#6E41B7 #B7A941 #4FB741
monochromatic
#38215D #53318A #6E41B7 #8F6BCA #B198DA

Accessibility & contrast

On white

6.77
#6E41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6E41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41B7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41B7#FFFFFF#000000##FFFFFF
##6E41B71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#5C5C76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6e41b7;
/* rgb */ color: rgb(110, 65, 183);
/* oklch */ color: oklch(49.1% 0.178 296.9);
Tailwind
colors: {
  custom: {
    50: '#9d78cd',
    500: '#6e41b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e41b7;
$custom-light: #9d78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41b7",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 262.881,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.17768,
    "h": 296.9
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#6E41B7
secondary
#B1C68E
accent
#D751A4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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