#6C46DF#6C46DF

#6C46DF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.219 H 287.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6C46DF
RGBrgb(108, 70, 223)
HSLhsl(255, 71%, 57%)
HSVhsv(255, 69%, 87%)
CMYKcmyk(51.6%, 68.6%, 0%, 12.5%)
CIE-LABlab(42.60, 52.94, -72.51)
CIE-LCHlch(42.60, 89.78, 306.13°)
OKLaboklab(52.83% 0.0671 -0.2082)
OKLCHoklch(52.83% 0.219 287.9)
XYZxyz(21.6899, 12.8951, 71.1439)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46DF #B9DF46
analogous
#466CDF #6C46DF #B946DF
triadic
#6C46DF #DF6C46 #46DF6C
tetradic
#6C46DF #DF466C #B9DF46 #46DFB9
square
#6C46DF #DF466C #B9DF46 #46DFB9
split-complementary
#6C46DF #DFB946 #6CDF46
monochromatic
#371991 #4B22C6 #6C46DF #957AE8 #BFAEF1

Accessibility & contrast

On white

5.87
#6C46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6C46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46DF#FFFFFF#000000##FFFFFF
##6C46DF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#406D8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c46df;
/* rgb */ color: rgb(108, 70, 223);
/* oklch */ color: oklch(52.8% 0.219 287.9);
Tailwind
colors: {
  custom: {
    50: '#a07cea',
    500: '#6c46df',
    950: '#000000',
  },
}
SCSS
$custom: #6c46df;
$custom-light: #a07cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46df",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 254.902,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.21879,
    "h": 287.9
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#6C46DF
secondary
#D0DFA2
accent
#ED3BC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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