#6C46DA#6C46DA

#6C46DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.213 H 288.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6C46DA
RGBrgb(108, 70, 218)
HSLhsl(255, 67%, 56%)
HSVhsv(255, 68%, 85%)
CMYKcmyk(50.5%, 67.9%, 0%, 14.5%)
CIE-LABlab(42.20, 51.53, -70.31)
CIE-LCHlch(42.20, 87.18, 306.24°)
OKLaboklab(52.42% 0.0679 -0.2018)
OKLCHoklch(52.42% 0.213 288.6)
XYZxyz(21.0257, 12.6295, 67.6459)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46DA #B4DA46
analogous
#466ADA #6C46DA #B646DA
triadic
#6C46DA #DA6C46 #46DA6C
tetradic
#6C46DA #DA466A #B4DA46 #46DAB6
square
#6C46DA #DA466A #B4DA46 #46DAB6
split-complementary
#6C46DA #DAB646 #6ADA46
monochromatic
#381C8A #4D26BD #6C46DA #9579E4 #BDACEE

Accessibility & contrast

On white

5.96
#6C46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6C46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46DA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46DA#FFFFFF#000000##FFFFFF
##6C46DA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#446C8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c46da;
/* rgb */ color: rgb(108, 70, 218);
/* oklch */ color: oklch(52.4% 0.213 288.6);
Tailwind
colors: {
  custom: {
    50: '#9f7ce7',
    500: '#6c46da',
    950: '#000000',
  },
}
SCSS
$custom: #6c46da;
$custom-light: #9f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46da",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 255.405,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.21293,
    "h": 288.6
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#6C46DA
secondary
#CDDCA0
accent
#EA3EBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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