#6C41CB#6C41CB

#6C41CB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.201 H 291.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6C41CB
RGBrgb(108, 65, 203)
HSLhsl(259, 57%, 53%)
HSVhsv(259, 68%, 80%)
CMYKcmyk(46.8%, 68%, 0%, 20.4%)
CIE-LABlab(40.05, 50.00, -65.19)
CIE-LCHlch(40.05, 82.15, 307.49°)
OKLaboklab(50.5% 0.075 -0.1867)
OKLCHoklch(50.5% 0.201 291.9)
XYZxyz(18.8511, 11.2799, 57.6723)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41CB #A0CB41
analogous
#415BCB #6C41CB #B141CB
triadic
#6C41CB #CB6C41 #41CB6C
tetradic
#6C41CB #CB415B #A0CB41 #41CBB1
square
#6C41CB #CB415B #A0CB41 #41CBB1
split-complementary
#6C41CB #CBB141 #5BCB41
monochromatic
#391F72 #512CA2 #6C41CB #9171D8 #B6A1E5

Accessibility & contrast

On white

6.45
#6C41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41CB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41CB#FFFFFF#000000##FFFFFF
##6C41CB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#4F6381
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c41cb;
/* rgb */ color: rgb(108, 65, 203);
/* oklch */ color: oklch(50.5% 0.201 291.9);
Tailwind
colors: {
  custom: {
    50: '#9e79dc',
    500: '#6c41cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c41cb;
$custom-light: #9e79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41cb",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 258.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.20123,
    "h": 291.9
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#6C41CB
secondary
#BFD296
accent
#E048B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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