#6C41C8#6C41C8

#6C41C8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.198 H 292.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6C41C8
RGBrgb(108, 65, 200)
HSLhsl(259, 55%, 52%)
HSVhsv(259, 68%, 78%)
CMYKcmyk(46%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.81, 49.18, -63.83)
CIE-LCHlch(39.81, 80.58, 307.61°)
OKLaboklab(50.26% 0.0755 -0.1827)
OKLCHoklch(50.26% 0.198 292.4)
XYZxyz(18.4971, 11.1383, 55.8077)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41C8 #9DC841
analogous
#415AC8 #6C41C8 #B041C8
triadic
#6C41C8 #C86C41 #41C86C
tetradic
#6C41C8 #C8415A #9DC841 #41C8B0
square
#6C41C8 #C8415A #9DC841 #41C8B0
split-complementary
#6C41C8 #C8B041 #5AC841
monochromatic
#39206F #522E9E #6C41C8 #9170D6 #B5A0E3

Accessibility & contrast

On white

6.51
#6C41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6C41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41C8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41C8#FFFFFF#000000##FFFFFF
##6C41C81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#50627F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c41c8;
/* rgb */ color: rgb(108, 65, 200);
/* oklch */ color: oklch(50.3% 0.198 292.4);
Tailwind
colors: {
  custom: {
    50: '#9e79da',
    500: '#6c41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6c41c8;
$custom-light: #9e79da;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41c8",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 259.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.19771,
    "h": 292.4
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#6C41C8
secondary
#BDD095
accent
#DE49AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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