#6D46E9#6D46E9

#6D46E9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.230 H 286.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6D46E9
RGBrgb(109, 70, 233)
HSLhsl(254, 79%, 59%)
HSVhsv(254, 70%, 91%)
CMYKcmyk(53.2%, 70%, 0%, 8.6%)
CIE-LABlab(43.53, 55.90, -76.67)
CIE-LCHlch(43.53, 94.89, 306.09°)
OKLaboklab(53.77% 0.0667 -0.2204)
OKLCHoklch(53.77% 0.23 286.8)
XYZxyz(23.2004, 13.5135, 78.4609)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46E9 #C2E946
analogous
#4671E9 #6D46E9 #BF46E9
triadic
#6D46E9 #E96D46 #46E96D
tetradic
#6D46E9 #E94671 #C2E946 #46E9BF
square
#6D46E9 #E94671 #C2E946 #46E9BF
split-complementary
#6D46E9 #E9BF46 #71E946
monochromatic
#3513A1 #471AD8 #6D46E9 #987DF0 #C3B3F6

Accessibility & contrast

On white

5.67
#6D46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6D46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46E9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46E9#FFFFFF#000000##FFFFFF
##6D46E91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#3A7193
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d46e9;
/* rgb */ color: rgb(109, 70, 233);
/* oklch */ color: oklch(53.8% 0.230 286.8);
Tailwind
colors: {
  custom: {
    50: '#a27df1',
    500: '#6d46e9',
    950: '#000000',
  },
}
SCSS
$custom: #6d46e9;
$custom-light: #a27df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46e9",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 254.356,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.2303,
    "h": 286.8
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#6D46E9
secondary
#D6E5A6
accent
#F533C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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