#6D46CA#6D46CA

#6D46CA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.194 H 291.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6D46CA
RGBrgb(109, 70, 202)
HSLhsl(258, 55%, 53%)
HSVhsv(258, 65%, 79%)
CMYKcmyk(46%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.05, 47.24, -62.97)
CIE-LCHlch(41.05, 78.72, 306.88°)
OKLaboklab(51.22% 0.0716 -0.1802)
OKLCHoklch(51.22% 0.194 291.7)
XYZxyz(19.1545, 11.8951, 57.1524)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46CA #A3CA46
analogous
#4661CA #6D46CA #AF46CA
triadic
#6D46CA #CA6D46 #46CA6D
tetradic
#6D46CA #CA4661 #A3CA46 #46CAAF
square
#6D46CA #CA4661 #A3CA46 #46CAAF
split-complementary
#6D46CA #CAAF46 #61CA46
monochromatic
#3A2174 #512FA4 #6D46CA #9376D8 #B8A5E5

Accessibility & contrast

On white

6.21
#6D46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6D46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46CA#FFFFFF#000000##FFFFFF
##6D46CA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#516682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d46ca;
/* rgb */ color: rgb(109, 70, 202);
/* oklch */ color: oklch(51.2% 0.194 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e7cdb',
    500: '#6d46ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d46ca;
$custom-light: #9e7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46ca",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 257.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.19389,
    "h": 291.7
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#6D46CA
secondary
#C2D29A
accent
#DF49B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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