#6E41C8#6E41C8

#6E41C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.198 H 293.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6E41C8
RGBrgb(110, 65, 200)
HSLhsl(260, 55%, 52%)
HSVhsv(260, 68%, 78%)
CMYKcmyk(45%, 67.5%, 0%, 21.6%)
CIE-LABlab(40.02, 49.55, -63.48)
CIE-LCHlch(40.02, 80.53, 307.98°)
OKLaboklab(50.46% 0.0783 -0.1816)
OKLCHoklch(50.46% 0.198 293.3)
XYZxyz(18.7432, 11.2652, 55.8192)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41C8 #9BC841
analogous
#4158C8 #6E41C8 #B241C8
triadic
#6E41C8 #C86E41 #41C86E
tetradic
#6E41C8 #C84158 #9BC841 #41C8B2
square
#6E41C8 #C84158 #9BC841 #41C8B2
split-complementary
#6E41C8 #C8B241 #58C841
monochromatic
#3A206F #532E9E #6E41C8 #9270D6 #B6A0E3

Accessibility & contrast

On white

6.46
#6E41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6E41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41C8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41C8#FFFFFF#000000##FFFFFF
##6E41C81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#54627F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e41c8;
/* rgb */ color: rgb(110, 65, 200);
/* oklch */ color: oklch(50.5% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#9f79da',
    500: '#6e41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6e41c8;
$custom-light: #9f79da;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41c8",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 260,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.19778,
    "h": 293.3
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#6E41C8
secondary
#BCD095
accent
#DE49AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6E41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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