#6D46E6#6D46E6

#6D46E6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.227 H 287.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6D46E6
RGBrgb(109, 70, 230)
HSLhsl(255, 76%, 59%)
HSVhsv(255, 70%, 90%)
CMYKcmyk(52.6%, 69.6%, 0%, 9.8%)
CIE-LABlab(43.28, 55.06, -75.38)
CIE-LCHlch(43.28, 93.35, 306.14°)
OKLaboklab(53.51% 0.0673 -0.2166)
OKLCHoklch(53.51% 0.227 287.2)
XYZxyz(22.7755, 13.3435, 76.2230)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46E6 #BFE646
analogous
#466FE6 #6D46E6 #BD46E6
triadic
#6D46E6 #E66D46 #46E66D
tetradic
#6D46E6 #E6466F #BFE646 #46E6BD
square
#6D46E6 #E6466F #BFE646 #46E6BD
split-complementary
#6D46E6 #E6BD46 #6FE646
monochromatic
#36159C #491CD2 #6D46E6 #987CED #C2B2F5

Accessibility & contrast

On white

5.72
#6D46E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6D46E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46E6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46E6#FFFFFF#000000##FFFFFF
##6D46E61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#3C7091
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d46e6;
/* rgb */ color: rgb(109, 70, 230);
/* oklch */ color: oklch(53.5% 0.227 287.2);
Tailwind
colors: {
  custom: {
    50: '#a27def',
    500: '#6d46e6',
    950: '#000000',
  },
}
SCSS
$custom: #6d46e6;
$custom-light: #a27def;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46e6",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 230
  },
  "hsl": {
    "h": 254.625,
    "s": 76.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.22685,
    "h": 287.2
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#6D46E6
secondary
#D4E3A4
accent
#F335C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D46E6

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

Preview Lab → · Contrast checker → · Palette generator →

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