#6D46CE#6D46CE

#6D46CE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.199 H 291.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6D46CE
RGBrgb(109, 70, 206)
HSLhsl(257, 58%, 54%)
HSVhsv(257, 66%, 81%)
CMYKcmyk(47.1%, 66%, 0%, 19.2%)
CIE-LABlab(41.35, 48.36, -64.79)
CIE-LCHlch(41.35, 80.84, 306.74°)
OKLaboklab(51.54% 0.0711 -0.1855)
OKLCHoklch(51.54% 0.199 291)
XYZxyz(19.6343, 12.0870, 59.6791)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46CE #A7CE46
analogous
#4663CE #6D46CE #B146CE
triadic
#6D46CE #CE6D46 #46CE6D
tetradic
#6D46CE #CE4663 #A7CE46 #46CEB1
square
#6D46CE #CE4663 #A7CE46 #46CEB1
split-complementary
#6D46CE #CEB146 #63CE46
monochromatic
#3A2079 #512DAA #6D46CE #9376DB #B9A7E8

Accessibility & contrast

On white

6.14
#6D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6D46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46CE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46CE#FFFFFF#000000##FFFFFF
##6D46CE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#4E6784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d46ce;
/* rgb */ color: rgb(109, 70, 206);
/* oklch */ color: oklch(51.5% 0.199 291.0);
Tailwind
colors: {
  custom: {
    50: '#9f7cde',
    500: '#6d46ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d46ce;
$custom-light: #9f7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46ce",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 257.206,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.19868,
    "h": 291
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#6D46CE
secondary
#C4D59B
accent
#E146B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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