#6C41B9#6C41B9

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

Color values

HEX#6C41B9
RGBrgb(108, 65, 185)
HSLhsl(262, 48%, 49%)
HSVhsv(262, 65%, 73%)
CMYKcmyk(41.6%, 64.9%, 0%, 27.5%)
CIE-LABlab(38.67, 45.10, -56.91)
CIE-LCHlch(38.67, 72.61, 308.40°)
OKLaboklab(49.09% 0.0774 -0.1624)
OKLCHoklch(49.09% 0.18 295.5)
XYZxyz(16.8293, 10.4711, 47.0240)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41B9 #8EB941
analogous
#4152B9 #6C41B9 #A841B9
triadic
#6C41B9 #B96C41 #41B96C
tetradic
#6C41B9 #B94152 #8EB941 #41B9A8
square
#6C41B9 #B94152 #8EB941 #41B9A8
split-complementary
#6C41B9 #B9A841 #52B941
monochromatic
#37215E #52318C #6C41B9 #8E6CCB #B199DB

Accessibility & contrast

On white

6.79
#6C41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6C41B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41B9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41B9#FFFFFF#000000##FFFFFF
##6C41B91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#585D77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c41b9;
/* rgb */ color: rgb(108, 65, 185);
/* oklch */ color: oklch(49.1% 0.180 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c78cf',
    500: '#6c41b9',
    950: '#000000',
  },
}
SCSS
$custom: #6c41b9;
$custom-light: #9c78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41b9",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 261.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.17989,
    "h": 295.5
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#6C41B9
secondary
#B3C78F
accent
#D850A7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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