#6D46CD#6D46CD

#6D46CD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.197 H 291.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6D46CD
RGBrgb(109, 70, 205)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 66%, 80%)
CMYKcmyk(46.8%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.28, 48.08, -64.34)
CIE-LCHlch(41.28, 80.32, 306.77°)
OKLaboklab(51.46% 0.0712 -0.1842)
OKLCHoklch(51.46% 0.197 291.1)
XYZxyz(19.5132, 12.0386, 59.0413)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46CD #A6CD46
analogous
#4663CD #6D46CD #B146CD
triadic
#6D46CD #CD6D46 #46CD6D
tetradic
#6D46CD #CD4663 #A6CD46 #46CDB1
square
#6D46CD #CD4663 #A6CD46 #46CDB1
split-complementary
#6D46CD #CDB146 #63CD46
monochromatic
#3A2078 #512DA8 #6D46CD #9376DA #B9A6E7

Accessibility & contrast

On white

6.16
#6D46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6D46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46CD#FFFFFF#000000##FFFFFF
##6D46CD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#4F6783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d46cd;
/* rgb */ color: rgb(109, 70, 205);
/* oklch */ color: oklch(51.5% 0.197 291.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cdd',
    500: '#6d46cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d46cd;
$custom-light: #9e7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46cd",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 257.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.19748,
    "h": 291.1
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#6D46CD
secondary
#C4D49B
accent
#E147B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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