#6C46BB#6C46BB

#6C46BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.176 H 294.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6C46BB
RGBrgb(108, 70, 187)
HSLhsl(259, 46%, 50%)
HSVhsv(259, 63%, 73%)
CMYKcmyk(42.2%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.84, 42.89, -56.19)
CIE-LCHlch(39.84, 70.69, 307.35°)
OKLaboklab(49.98% 0.0716 -0.1603)
OKLCHoklch(49.98% 0.176 294.1)
XYZxyz(17.3417, 11.1559, 48.2437)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46BB #95BB46
analogous
#465ABB #6C46BB #A646BB
triadic
#6C46BB #BB6C46 #46BB6C
tetradic
#6C46BB #BB465A #95BB46 #46BBA6
square
#6C46BB #BB465A #95BB46 #46BBA6
split-complementary
#6C46BB #BBA646 #5ABB46
monochromatic
#382462 #52358F #6C46BB #9073CB #B3A0DC

Accessibility & contrast

On white

6.50
#6C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6C46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46BB#FFFFFF#000000##FFFFFF
##6C46BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#57617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c46bb;
/* rgb */ color: rgb(108, 70, 187);
/* oklch */ color: oklch(50.0% 0.176 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c7bd0',
    500: '#6c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c46bb;
$custom-light: #9c7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46bb",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 259.487,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.17558,
    "h": 294.1
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#6C46BB
secondary
#B8C894
accent
#D652AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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