#6D46C8#6D46C8

#6D46C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.191 H 292.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6D46C8
RGBrgb(109, 70, 200)
HSLhsl(258, 54%, 53%)
HSVhsv(258, 65%, 78%)
CMYKcmyk(45.5%, 65%, 0%, 21.6%)
CIE-LABlab(40.90, 46.69, -62.06)
CIE-LCHlch(40.90, 77.66, 306.96°)
OKLaboklab(51.07% 0.0718 -0.1775)
OKLCHoklch(51.07% 0.191 292)
XYZxyz(18.9193, 11.8010, 55.9134)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46C8 #A1C846
analogous
#4660C8 #6D46C8 #AE46C8
triadic
#6D46C8 #C86D46 #46C86D
tetradic
#6D46C8 #C84660 #A1C846 #46C8AE
square
#6D46C8 #C84660 #A1C846 #46C8AE
split-complementary
#6D46C8 #C8AE46 #60C846
monochromatic
#3A2272 #5230A1 #6D46C8 #9275D6 #B7A4E4

Accessibility & contrast

On white

6.25
#6D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6D46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46C8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46C8#FFFFFF#000000##FFFFFF
##6D46C81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#526581
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d46c8;
/* rgb */ color: rgb(109, 70, 200);
/* oklch */ color: oklch(51.1% 0.191 292.0);
Tailwind
colors: {
  custom: {
    50: '#9e7cda',
    500: '#6d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d46c8;
$custom-light: #9e7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46c8",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 258,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.19147,
    "h": 292
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#6D46C8
secondary
#C0D199
accent
#DE4AB1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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