#6C41E5#6C41E5

#6C41E5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.231 H 287.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6C41E5
RGBrgb(108, 65, 229)
HSLhsl(256, 76%, 58%)
HSVhsv(256, 72%, 90%)
CMYKcmyk(52.8%, 71.6%, 0%, 10.2%)
CIE-LABlab(42.19, 57.15, -76.60)
CIE-LCHlch(42.19, 95.57, 306.73°)
OKLaboklab(52.69% 0.0702 -0.2202)
OKLCHoklch(52.69% 0.231 287.7)
XYZxyz(22.2133, 12.6248, 75.3799)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41E5 #BAE541
analogous
#4168E5 #6C41E5 #BE41E5
triadic
#6C41E5 #E56C41 #41E56C
tetradic
#6C41E5 #E54168 #BAE541 #41E5BE
square
#6C41E5 #E54168 #BAE541 #41E5BE
split-complementary
#6C41E5 #E5BE41 #68E541
monochromatic
#371597 #4A1CCD #6C41E5 #9677EC #BFADF4

Accessibility & contrast

On white

5.96
#6C41E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6C41E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41E5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41E5#FFFFFF#000000##FFFFFF
##6C41E51.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#3B6D8F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c41e5;
/* rgb */ color: rgb(108, 65, 229);
/* oklch */ color: oklch(52.7% 0.231 287.7);
Tailwind
colors: {
  custom: {
    50: '#a17aee',
    500: '#6c41e5',
    950: '#000000',
  },
}
SCSS
$custom: #6c41e5;
$custom-light: #a17aee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41e5",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 229
  },
  "hsl": {
    "h": 255.732,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.23111,
    "h": 287.7
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#6C41E5
secondary
#D1E2A0
accent
#F335C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6C41E5

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

Preview Lab → · Contrast checker → · Palette generator →

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