#6C41CA#6C41CA

#6C41CA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.200 H 292.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6C41CA
RGBrgb(108, 65, 202)
HSLhsl(259, 56%, 52%)
HSVhsv(259, 68%, 79%)
CMYKcmyk(46.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.97, 49.73, -64.73)
CIE-LCHlch(39.97, 81.63, 307.53°)
OKLaboklab(50.42% 0.0752 -0.1854)
OKLCHoklch(50.42% 0.2 292.1)
XYZxyz(18.7323, 11.2324, 57.0467)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41CA #9FCA41
analogous
#415BCA #6C41CA #B141CA
triadic
#6C41CA #CA6C41 #41CA6C
tetradic
#6C41CA #CA415B #9FCA41 #41CAB1
square
#6C41CA #CA415B #9FCA41 #41CAB1
split-complementary
#6C41CA #CAB141 #5BCA41
monochromatic
#392071 #512DA1 #6C41CA #9171D7 #B6A1E5

Accessibility & contrast

On white

6.47
#6C41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6C41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41CA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41CA#FFFFFF#000000##FFFFFF
##6C41CA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#4F6380
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c41ca;
/* rgb */ color: rgb(108, 65, 202);
/* oklch */ color: oklch(50.4% 0.200 292.1);
Tailwind
colors: {
  custom: {
    50: '#9e79db',
    500: '#6c41ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c41ca;
$custom-light: #9e79db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41ca",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 258.832,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.20006,
    "h": 292.1
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#6C41CA
secondary
#BFD196
accent
#E048B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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