#6C46C8#6C46C8

#6C46C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.191 H 291.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6C46C8
RGBrgb(108, 70, 200)
HSLhsl(258, 54%, 53%)
HSVhsv(258, 65%, 78%)
CMYKcmyk(46%, 65%, 0%, 21.6%)
CIE-LABlab(40.80, 46.49, -62.23)
CIE-LCHlch(40.80, 77.68, 306.77°)
OKLaboklab(50.97% 0.0704 -0.178)
OKLCHoklch(50.97% 0.191 291.6)
XYZxyz(18.7969, 11.7380, 55.9076)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46C8 #A2C846
analogous
#4661C8 #6C46C8 #AD46C8
triadic
#6C46C8 #C86C46 #46C86C
tetradic
#6C46C8 #C84661 #A2C846 #46C8AD
square
#6C46C8 #C84661 #A2C846 #46C8AD
split-complementary
#6C46C8 #C8AD46 #61C846
monochromatic
#392272 #5130A1 #6C46C8 #9175D6 #B7A4E4

Accessibility & contrast

On white

6.27
#6C46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6C46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46C8#FFFFFF#000000##FFFFFF
##6C46C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#506581
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c46c8;
/* rgb */ color: rgb(108, 70, 200);
/* oklch */ color: oklch(51.0% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#9d7cda',
    500: '#6c46c8',
    950: '#000000',
  },
}
SCSS
$custom: #6c46c8;
$custom-light: #9d7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46c8",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 257.538,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.19146,
    "h": 291.6
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#6C46C8
secondary
#C1D199
accent
#DE4AB2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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