#6C41E7#6C41E7

#6C41E7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.233 H 287.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6C41E7
RGBrgb(108, 65, 231)
HSLhsl(256, 78%, 58%)
HSVhsv(256, 72%, 91%)
CMYKcmyk(53.2%, 71.9%, 0%, 9.4%)
CIE-LABlab(42.36, 57.71, -77.45)
CIE-LCHlch(42.36, 96.58, 306.69°)
OKLaboklab(52.87% 0.0697 -0.2227)
OKLCHoklch(52.87% 0.233 287.4)
XYZxyz(22.4942, 12.7371, 76.8590)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41E7 #BCE741
analogous
#4169E7 #6C41E7 #BF41E7
triadic
#6C41E7 #E76C41 #41E76C
tetradic
#6C41E7 #E74169 #BCE741 #41E7BF
square
#6C41E7 #E74169 #BCE741 #41E7BF
split-complementary
#6C41E7 #E7BF41 #69E741
monochromatic
#36139A #4A1AD0 #6C41E7 #9677EE #C0AEF5

Accessibility & contrast

On white

5.92
#6C41E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6C41E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41E7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41E7#FFFFFF#000000##FFFFFF
##6C41E71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#396E90
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c41e7;
/* rgb */ color: rgb(108, 65, 231);
/* oklch */ color: oklch(52.9% 0.233 287.4);
Tailwind
colors: {
  custom: {
    50: '#a27af0',
    500: '#6c41e7',
    950: '#000000',
  },
}
SCSS
$custom: #6c41e7;
$custom-light: #a27af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41e7",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 231
  },
  "hsl": {
    "h": 255.542,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.23337,
    "h": 287.4
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#6C41E7
secondary
#D2E3A1
accent
#F434C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6C41E7

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

Preview Lab → · Contrast checker → · Palette generator →

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