#6C46CF#6C46CF

#6C46CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.200 H 290.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6C46CF
RGBrgb(108, 70, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 66%, 81%)
CMYKcmyk(47.8%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.33, 48.45, -65.41)
CIE-LCHlch(41.33, 81.40, 306.53°)
OKLaboklab(51.52% 0.0696 -0.1874)
OKLCHoklch(51.52% 0.2 290.4)
XYZxyz(19.6338, 12.0727, 60.3151)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46CF #A9CF46
analogous
#4665CF #6C46CF #B046CF
triadic
#6C46CF #CF6C46 #46CF6C
tetradic
#6C46CF #CF4665 #A9CF46 #46CFB0
square
#6C46CF #CF4665 #A9CF46 #46CFB0
split-complementary
#6C46CF #CFB046 #65CF46
monochromatic
#39207B #502CAB #6C46CF #9377DC #B9A7E8

Accessibility & contrast

On white

6.15
#6C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6C46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46CF#FFFFFF#000000##FFFFFF
##6C46CF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4C6885
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c46cf;
/* rgb */ color: rgb(108, 70, 207);
/* oklch */ color: oklch(51.5% 0.200 290.4);
Tailwind
colors: {
  custom: {
    50: '#9e7cdf',
    500: '#6c46cf',
    950: '#000000',
  },
}
SCSS
$custom: #6c46cf;
$custom-light: #9e7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46cf",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 256.642,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.19988,
    "h": 290.4
  },
  "luminance": 0.12073
}

Semantic roles & 50–950 ramp

primary
#6C46CF
secondary
#C5D59B
accent
#E246B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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