#6E46BB#6E46BB

#6E46BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.176 H 295.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6E46BB
RGBrgb(110, 70, 187)
HSLhsl(261, 46%, 50%)
HSVhsv(261, 63%, 73%)
CMYKcmyk(41.2%, 62.6%, 0%, 26.7%)
CIE-LABlab(40.05, 43.32, -55.84)
CIE-LCHlch(40.05, 70.67, 307.80°)
OKLaboklab(50.18% 0.0744 -0.1592)
OKLCHoklch(50.18% 0.176 295)
XYZxyz(17.5878, 11.2828, 48.2552)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46BB #93BB46
analogous
#4658BB #6E46BB #A946BB
triadic
#6E46BB #BB6E46 #46BB6E
tetradic
#6E46BB #BB4658 #93BB46 #46BBA9
square
#6E46BB #BB4658 #93BB46 #46BBA9
split-complementary
#6E46BB #BBA946 #58BB46
monochromatic
#392462 #54358F #6E46BB #9173CB #B4A0DC

Accessibility & contrast

On white

6.45
#6E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6E46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46BB#FFFFFF#000000##FFFFFF
##6E46BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5A607A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e46bb;
/* rgb */ color: rgb(110, 70, 187);
/* oklch */ color: oklch(50.2% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#9d7bd0',
    500: '#6e46bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e46bb;
$custom-light: #9d7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46bb",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 260.513,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.17571,
    "h": 295
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#6E46BB
secondary
#B7C894
accent
#D652A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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