#6E46BE#6E46BE

#6E46BE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.179 H 294.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6E46BE
RGBrgb(110, 70, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 63%, 75%)
CMYKcmyk(42.1%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.27, 44.14, -57.25)
CIE-LCHlch(40.27, 72.29, 307.63°)
OKLaboklab(50.4% 0.0741 -0.1633)
OKLCHoklch(50.4% 0.179 294.4)
XYZxyz(17.9123, 11.4126, 49.9643)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46BE #96BE46
analogous
#465ABE #6E46BE #AA46BE
triadic
#6E46BE #BE6E46 #46BE6E
tetradic
#6E46BE #BE465A #96BE46 #46BEAA
square
#6E46BE #BE465A #96BE46 #46BEAA
split-complementary
#6E46BE #BEAA46 #5ABE46
monochromatic
#3A2466 #533493 #6E46BE #9173CE #B5A1DE

Accessibility & contrast

On white

6.40
#6E46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6E46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46BE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46BE#FFFFFF#000000##FFFFFF
##6E46BE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#59617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e46be;
/* rgb */ color: rgb(110, 70, 190);
/* oklch */ color: oklch(50.4% 0.179 294.4);
Tailwind
colors: {
  custom: {
    50: '#9d7bd2',
    500: '#6e46be',
    950: '#000000',
  },
}
SCSS
$custom: #6e46be;
$custom-light: #9d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46be",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 260,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.17938,
    "h": 294.4
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#6E46BE
secondary
#B9CA95
accent
#D850AA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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