#6C41C2#6C41C2

#6C41C2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.191 H 293.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6C41C2
RGBrgb(108, 65, 194)
HSLhsl(260, 51%, 51%)
HSVhsv(260, 66%, 76%)
CMYKcmyk(44.3%, 66.5%, 0%, 23.9%)
CIE-LABlab(39.35, 47.54, -61.09)
CIE-LCHlch(39.35, 77.41, 307.89°)
OKLaboklab(49.78% 0.0763 -0.1747)
OKLCHoklch(49.78% 0.191 293.6)
XYZxyz(17.8096, 10.8633, 52.1869)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41C2 #97C241
analogous
#4156C2 #6C41C2 #AC41C2
triadic
#6C41C2 #C26C41 #41C26C
tetradic
#6C41C2 #C24156 #97C241 #41C2AC
square
#6C41C2 #C24156 #97C241 #41C2AC
split-complementary
#6C41C2 #C2AC41 #56C241
monochromatic
#392167 #523096 #6C41C2 #906FD1 #B49EE0

Accessibility & contrast

On white

6.62
#6C41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6C41C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41C2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41C2#FFFFFF#000000##FFFFFF
##6C41C21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#54607C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6c41c2;
/* rgb */ color: rgb(108, 65, 194);
/* oklch */ color: oklch(49.8% 0.191 293.6);
Tailwind
colors: {
  custom: {
    50: '#9d78d5',
    500: '#6c41c2',
    950: '#000000',
  },
}
SCSS
$custom: #6c41c2;
$custom-light: #9d78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41c2",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 260,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.19063,
    "h": 293.6
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#6C41C2
secondary
#B9CC93
accent
#DB4DAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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