#6C41D1#6C41D1

#6C41D1 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.208 H 290.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6C41D1
RGBrgb(108, 65, 209)
HSLhsl(258, 61%, 54%)
HSVhsv(258, 69%, 82%)
CMYKcmyk(48.3%, 68.9%, 0%, 18%)
CIE-LABlab(40.53, 51.65, -67.87)
CIE-LCHlch(40.53, 85.29, 307.27°)
OKLaboklab(50.99% 0.074 -0.1946)
OKLCHoklch(50.99% 0.208 290.8)
XYZxyz(19.5800, 11.5714, 61.5111)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41D1 #A6D141
analogous
#415ED1 #6C41D1 #B441D1
triadic
#6C41D1 #D16C41 #41D16C
tetradic
#6C41D1 #D1415E #A6D141 #41D1B4
square
#6C41D1 #D1415E #A6D141 #41D1B4
split-complementary
#6C41D1 #D1B441 #5ED141
monochromatic
#391E7A #5029AB #6C41D1 #9272DD #B8A4E9

Accessibility & contrast

On white

6.34
#6C41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6C41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41D1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41D1#FFFFFF#000000##FFFFFF
##6C41D11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#4B6684
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c41d1;
/* rgb */ color: rgb(108, 65, 209);
/* oklch */ color: oklch(51.0% 0.208 290.8);
Tailwind
colors: {
  custom: {
    50: '#9f79e0',
    500: '#6c41d1',
    950: '#000000',
  },
}
SCSS
$custom: #6c41d1;
$custom-light: #9f79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41d1",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 257.917,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.20823,
    "h": 290.8
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#6C41D1
secondary
#C3D698
accent
#E444B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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