#6D46D7#6D46D7

#6D46D7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.209 H 289.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6D46D7
RGBrgb(109, 70, 215)
HSLhsl(256, 64%, 56%)
HSVhsv(256, 67%, 84%)
CMYKcmyk(49.3%, 67.4%, 0%, 15.7%)
CIE-LABlab(42.06, 50.86, -68.82)
CIE-LCHlch(42.06, 85.58, 306.47°)
OKLaboklab(52.26% 0.0698 -0.1974)
OKLCHoklch(52.26% 0.209 289.5)
XYZxyz(20.7590, 12.5369, 65.6029)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46D7 #B0D746
analogous
#4667D7 #6D46D7 #B546D7
triadic
#6D46D7 #D76D46 #46D76D
tetradic
#6D46D7 #D74667 #B0D746 #46D7B5
square
#6D46D7 #D74667 #B0D746 #46D7B5
split-complementary
#6D46D7 #D7B546 #67D746
monochromatic
#391D86 #4F28B8 #6D46D7 #9578E2 #BCABED

Accessibility & contrast

On white

5.99
#6D46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6D46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46D7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46D7#FFFFFF#000000##FFFFFF
##6D46D71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#496A89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d46d7;
/* rgb */ color: rgb(109, 70, 215);
/* oklch */ color: oklch(52.3% 0.209 289.5);
Tailwind
colors: {
  custom: {
    50: '#a07ce4',
    500: '#6d46d7',
    950: '#000000',
  },
}
SCSS
$custom: #6d46d7;
$custom-light: #a07ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46d7",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 256.138,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.20936,
    "h": 289.5
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#6D46D7
secondary
#CADA9E
accent
#E740BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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