#6D46BA#6D46BA

#6D46BA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.174 H 294.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6D46BA
RGBrgb(109, 70, 186)
HSLhsl(260, 46%, 50%)
HSVhsv(260, 62%, 73%)
CMYKcmyk(41.4%, 62.4%, 0%, 27.1%)
CIE-LABlab(39.88, 42.83, -55.55)
CIE-LCHlch(39.88, 70.14, 307.63°)
OKLaboklab(50% 0.0731 -0.1584)
OKLCHoklch(50% 0.174 294.8)
XYZxyz(17.3574, 11.1763, 47.6876)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46BA #93BA46
analogous
#4659BA #6D46BA #A746BA
triadic
#6D46BA #BA6D46 #46BA6D
tetradic
#6D46BA #BA4659 #93BA46 #46BAA7
square
#6D46BA #BA4659 #93BA46 #46BAA7
split-complementary
#6D46BA #BAA746 #59BA46
monochromatic
#392461 #53358E #6D46BA #9073CB #B39FDB

Accessibility & contrast

On white

6.49
#6D46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6D46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46BA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46BA#FFFFFF#000000##FFFFFF
##6D46BA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#596079
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d46ba;
/* rgb */ color: rgb(109, 70, 186);
/* oklch */ color: oklch(50.0% 0.174 294.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bcf',
    500: '#6d46ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d46ba;
$custom-light: #9c7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46ba",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 260.172,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.1744,
    "h": 294.8
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#6D46BA
secondary
#B6C894
accent
#D552A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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