#6E46DB#6E46DB

#6E46DB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.214 H 289.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6E46DB
RGBrgb(110, 70, 219)
HSLhsl(256, 67%, 57%)
HSVhsv(256, 68%, 86%)
CMYKcmyk(49.8%, 68%, 0%, 14.1%)
CIE-LABlab(42.47, 52.15, -70.43)
CIE-LCHlch(42.47, 87.64, 306.52°)
OKLaboklab(52.68% 0.0705 -0.2021)
OKLCHoklch(52.68% 0.214 289.2)
XYZxyz(21.4031, 12.8089, 68.3487)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46DB #B3DB46
analogous
#4669DB #6E46DB #B846DB
triadic
#6E46DB #DB6E46 #46DB6E
tetradic
#6E46DB #DB4669 #B3DB46 #46DBB8
square
#6E46DB #DB4669 #B3DB46 #46DBB8
split-complementary
#6E46DB #DBB846 #69DB46
monochromatic
#391B8B #4E25BF #6E46DB #9679E5 #BEACEF

Accessibility & contrast

On white

5.90
#6E46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6E46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46DB#FFFFFF#000000##FFFFFF
##6E46DB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#486C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e46db;
/* rgb */ color: rgb(110, 70, 219);
/* oklch */ color: oklch(52.7% 0.214 289.2);
Tailwind
colors: {
  custom: {
    50: '#a17ce7',
    500: '#6e46db',
    950: '#000000',
  },
}
SCSS
$custom: #6e46db;
$custom-light: #a17ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46db",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 256.107,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.21404,
    "h": 289.2
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#6E46DB
secondary
#CDDDA0
accent
#EA3DBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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