#6E46D9#6E46D9

#6E46D9 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.212 H 289.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6E46D9
RGBrgb(110, 70, 217)
HSLhsl(256, 66%, 56%)
HSVhsv(256, 68%, 85%)
CMYKcmyk(49.3%, 67.7%, 0%, 14.9%)
CIE-LABlab(42.31, 51.59, -69.55)
CIE-LCHlch(42.31, 86.59, 306.57°)
OKLaboklab(52.52% 0.0709 -0.1995)
OKLCHoklch(52.52% 0.212 289.6)
XYZxyz(21.1413, 12.7042, 66.9704)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46D9 #B1D946
analogous
#4668D9 #6E46D9 #B846D9
triadic
#6E46D9 #D96E46 #46D96E
tetradic
#6E46D9 #D94668 #B1D946 #46D9B8
square
#6E46D9 #D94668 #B1D946 #46D9B8
split-complementary
#6E46D9 #D9B846 #68D946
monochromatic
#3A1C89 #4F26BB #6E46D9 #9679E3 #BEACEE

Accessibility & contrast

On white

5.93
#6E46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6E46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46D9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46D9#FFFFFF#000000##FFFFFF
##6E46D91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#496B8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e46d9;
/* rgb */ color: rgb(110, 70, 217);
/* oklch */ color: oklch(52.5% 0.212 289.6);
Tailwind
colors: {
  custom: {
    50: '#a17ce6',
    500: '#6e46d9',
    950: '#000000',
  },
}
SCSS
$custom: #6e46d9;
$custom-light: #a17ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46d9",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 256.327,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.21169,
    "h": 289.6
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#6E46D9
secondary
#CBDC9F
accent
#E93FBB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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