#6C46DB#6C46DB

#6C46DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.214 H 288.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6C46DB
RGBrgb(108, 70, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(50.7%, 68%, 0%, 14.1%)
CIE-LABlab(42.28, 51.82, -70.75)
CIE-LCHlch(42.28, 87.70, 306.22°)
OKLaboklab(52.5% 0.0678 -0.2031)
OKLCHoklch(52.5% 0.214 288.5)
XYZxyz(21.1570, 12.6820, 68.3372)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46DB #B5DB46
analogous
#466BDB #6C46DB #B746DB
triadic
#6C46DB #DB6C46 #46DB6C
tetradic
#6C46DB #DB466B #B5DB46 #46DBB7
square
#6C46DB #DB466B #B5DB46 #46DBB7
split-complementary
#6C46DB #DBB746 #6BDB46
monochromatic
#381B8B #4C25BF #6C46DB #9579E5 #BDACEF

Accessibility & contrast

On white

5.94
#6C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6C46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46DB#FFFFFF#000000##FFFFFF
##6C46DB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#436C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c46db;
/* rgb */ color: rgb(108, 70, 219);
/* oklch */ color: oklch(52.5% 0.214 288.5);
Tailwind
colors: {
  custom: {
    50: '#a07ce7',
    500: '#6c46db',
    950: '#000000',
  },
}
SCSS
$custom: #6c46db;
$custom-light: #a07ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46db",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 255.302,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.2141,
    "h": 288.5
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#6C46DB
secondary
#CDDDA0
accent
#EA3DBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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