#6C41B4#6C41B4

#6C41B4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.174 H 296.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6C41B4
RGBrgb(108, 65, 180)
HSLhsl(262, 47%, 48%)
HSVhsv(262, 64%, 71%)
CMYKcmyk(40%, 63.9%, 0%, 29.4%)
CIE-LABlab(38.31, 43.75, -54.55)
CIE-LCHlch(38.31, 69.93, 308.73°)
OKLaboklab(48.71% 0.0779 -0.1555)
OKLCHoklch(48.71% 0.174 296.6)
XYZxyz(16.3107, 10.2637, 44.2929)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41B4 #89B441
analogous
#414FB4 #6C41B4 #A541B4
triadic
#6C41B4 #B46C41 #41B46C
tetradic
#6C41B4 #B4414F #89B441 #41B4A5
square
#6C41B4 #B4414F #89B441 #41B4A5
split-complementary
#6C41B4 #B4A541 #4FB441
monochromatic
#36215A #513187 #6C41B4 #8D69C9 #AF96D9

Accessibility & contrast

On white

6.88
#6C41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6C41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41B4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41B4#FFFFFF#000000##FFFFFF
##6C41B41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#5A5B74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c41b4;
/* rgb */ color: rgb(108, 65, 180);
/* oklch */ color: oklch(48.7% 0.174 296.6);
Tailwind
colors: {
  custom: {
    50: '#9b78cb',
    500: '#6c41b4',
    950: '#000000',
  },
}
SCSS
$custom: #6c41b4;
$custom-light: #9b78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41b4",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 262.435,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.17386,
    "h": 296.6
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#6C41B4
secondary
#B0C58C
accent
#D751A5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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