#6C46CB#6C46CB

#6C46CB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.195 H 291.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6C46CB
RGBrgb(108, 70, 203)
HSLhsl(257, 56%, 54%)
HSVhsv(257, 66%, 80%)
CMYKcmyk(46.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.02, 47.33, -63.60)
CIE-LCHlch(41.02, 79.28, 306.66°)
OKLaboklab(51.2% 0.0701 -0.1821)
OKLCHoklch(51.2% 0.195 291)
XYZxyz(19.1510, 11.8796, 57.7723)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46CB #A5CB46
analogous
#4662CB #6C46CB #AE46CB
triadic
#6C46CB #CB6C46 #46CB6C
tetradic
#6C46CB #CB4662 #A5CB46 #46CBAE
square
#6C46CB #CB4662 #A5CB46 #46CBAE
split-complementary
#6C46CB #CBAE46 #62CB46
monochromatic
#392176 #502EA5 #6C46CB #9276D8 #B8A6E6

Accessibility & contrast

On white

6.22
#6C46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6C46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46CB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46CB#FFFFFF#000000##FFFFFF
##6C46CB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#4E6682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c46cb;
/* rgb */ color: rgb(108, 70, 203);
/* oklch */ color: oklch(51.2% 0.195 291.0);
Tailwind
colors: {
  custom: {
    50: '#9e7cdc',
    500: '#6c46cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c46cb;
$custom-light: #9e7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46cb",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 257.143,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.19508,
    "h": 291
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#6C46CB
secondary
#C3D39A
accent
#DF48B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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