#6D46CF#6D46CF

#6D46CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.200 H 290.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6D46CF
RGBrgb(109, 70, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 66%, 81%)
CMYKcmyk(47.3%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.43, 48.63, -65.24)
CIE-LCHlch(41.43, 81.37, 306.70°)
OKLaboklab(51.62% 0.0709 -0.1869)
OKLCHoklch(51.62% 0.2 290.8)
XYZxyz(19.7561, 12.1358, 60.3209)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46CF #A8CF46
analogous
#4664CF #6D46CF #B146CF
triadic
#6D46CF #CF6D46 #46CF6D
tetradic
#6D46CF #CF4664 #A8CF46 #46CFB1
square
#6D46CF #CF4664 #A8CF46 #46CFB1
split-complementary
#6D46CF #CFB146 #64CF46
monochromatic
#3A207B #512CAB #6D46CF #9377DC #BAA7E8

Accessibility & contrast

On white

6.13
#6D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6D46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46CF#FFFFFF#000000##FFFFFF
##6D46CF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#4E6885
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d46cf;
/* rgb */ color: rgb(109, 70, 207);
/* oklch */ color: oklch(51.6% 0.200 290.8);
Tailwind
colors: {
  custom: {
    50: '#9f7cdf',
    500: '#6d46cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d46cf;
$custom-light: #9f7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46cf",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 257.08,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.19988,
    "h": 290.8
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#6D46CF
secondary
#C5D59B
accent
#E246B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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