#6C41CC#6C41CC

#6C41CC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.202 H 291.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6C41CC
RGBrgb(108, 65, 204)
HSLhsl(259, 58%, 53%)
HSVhsv(259, 68%, 80%)
CMYKcmyk(47.1%, 68.1%, 0%, 20%)
CIE-LABlab(40.13, 50.28, -65.64)
CIE-LCHlch(40.13, 82.68, 307.45°)
OKLaboklab(50.58% 0.0749 -0.188)
OKLCHoklch(50.58% 0.202 291.7)
XYZxyz(18.9707, 11.3277, 58.3019)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41CC #A1CC41
analogous
#415CCC #6C41CC #B141CC
triadic
#6C41CC #CC6C41 #41CC6C
tetradic
#6C41CC #CC415C #A1CC41 #41CCB1
square
#6C41CC #CC415C #A1CC41 #41CCB1
split-complementary
#6C41CC #CCB141 #5CCC41
monochromatic
#391F74 #512CA4 #6C41CC #9171D9 #B7A1E6

Accessibility & contrast

On white

6.43
#6C41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6C41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41CC#FFFFFF#000000##FFFFFF
##6C41CC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#4E6481
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c41cc;
/* rgb */ color: rgb(108, 65, 204);
/* oklch */ color: oklch(50.6% 0.202 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e79dd',
    500: '#6c41cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c41cc;
$custom-light: #9e79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41cc",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 258.561,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.2024,
    "h": 291.7
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#6C41CC
secondary
#C0D396
accent
#E147B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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