#6C46CA#6C46CA

#6C46CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.194 H 291.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6C46CA
RGBrgb(108, 70, 202)
HSLhsl(257, 55%, 53%)
HSVhsv(257, 65%, 79%)
CMYKcmyk(46.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.95, 47.05, -63.14)
CIE-LCHlch(40.95, 78.74, 306.69°)
OKLaboklab(51.13% 0.0702 -0.1807)
OKLCHoklch(51.13% 0.194 291.2)
XYZxyz(19.0322, 11.8321, 57.1467)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46CA #A4CA46
analogous
#4662CA #6C46CA #AE46CA
triadic
#6C46CA #CA6C46 #46CA6C
tetradic
#6C46CA #CA4662 #A4CA46 #46CAAE
square
#6C46CA #CA4662 #A4CA46 #46CAAE
split-complementary
#6C46CA #CAAE46 #62CA46
monochromatic
#392174 #512FA4 #6C46CA #9276D8 #B8A5E5

Accessibility & contrast

On white

6.24
#6C46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6C46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46CA#FFFFFF#000000##FFFFFF
##6C46CA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4F6682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c46ca;
/* rgb */ color: rgb(108, 70, 202);
/* oklch */ color: oklch(51.1% 0.194 291.2);
Tailwind
colors: {
  custom: {
    50: '#9d7cdb',
    500: '#6c46ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c46ca;
$custom-light: #9d7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46ca",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 257.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.19388,
    "h": 291.2
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#6C46CA
secondary
#C2D29A
accent
#DF49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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