#6A46DB#6A46DB

#6A46DB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.214 H 287.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6A46DB
RGBrgb(106, 70, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(51.6%, 68%, 0%, 14.1%)
CIE-LABlab(42.09, 51.48, -71.07)
CIE-LCHlch(42.09, 87.76, 305.92°)
OKLaboklab(52.32% 0.065 -0.2041)
OKLCHoklch(52.32% 0.214 287.7)
XYZxyz(20.9164, 12.5579, 68.3259)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46DB #B7DB46
analogous
#466DDB #6A46DB #B546DB
triadic
#6A46DB #DB6A46 #46DB6A
tetradic
#6A46DB #DB466D #B7DB46 #46DBB5
square
#6A46DB #DB466D #B7DB46 #46DBB5
split-complementary
#6A46DB #DBB546 #6DDB46
monochromatic
#361B8B #4A25BF #6A46DB #9379E5 #BDACEF

Accessibility & contrast

On white

5.98
#6A46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6A46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46DB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46DB#FFFFFF#000000##FFFFFF
##6A46DB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#3F6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a46db;
/* rgb */ color: rgb(106, 70, 219);
/* oklch */ color: oklch(52.3% 0.214 287.7);
Tailwind
colors: {
  custom: {
    50: '#9e7ce7',
    500: '#6a46db',
    950: '#000000',
  },
}
SCSS
$custom: #6a46db;
$custom-light: #9e7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46db",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 254.497,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.21421,
    "h": 287.7
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#6A46DB
secondary
#CEDDA0
accent
#EA3DC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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