#6C46BE#6C46BE

#6C46BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.179 H 293.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6C46BE
RGBrgb(108, 70, 190)
HSLhsl(259, 48%, 51%)
HSVhsv(259, 63%, 75%)
CMYKcmyk(43.2%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.06, 43.72, -57.60)
CIE-LCHlch(40.06, 72.31, 307.20°)
OKLaboklab(50.2% 0.0714 -0.1644)
OKLCHoklch(50.2% 0.179 293.5)
XYZxyz(17.6662, 11.2857, 49.9528)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46BE #98BE46
analogous
#465CBE #6C46BE #A846BE
triadic
#6C46BE #BE6C46 #46BE6C
tetradic
#6C46BE #BE465C #98BE46 #46BEA8
square
#6C46BE #BE465C #98BE46 #46BEA8
split-complementary
#6C46BE #BEA846 #5CBE46
monochromatic
#392466 #523493 #6C46BE #9073CE #B4A1DE

Accessibility & contrast

On white

6.45
#6C46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46BE#FFFFFF#000000##FFFFFF
##6C46BE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#55627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c46be;
/* rgb */ color: rgb(108, 70, 190);
/* oklch */ color: oklch(50.2% 0.179 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c7bd2',
    500: '#6c46be',
    950: '#000000',
  },
}
SCSS
$custom: #6c46be;
$custom-light: #9c7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46be",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 259,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.17927,
    "h": 293.5
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#6C46BE
secondary
#BACA95
accent
#D850AD
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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