#6D46DB#6D46DB

#6D46DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.214 H 288.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6D46DB
RGBrgb(109, 70, 219)
HSLhsl(256, 67%, 57%)
HSVhsv(256, 68%, 86%)
CMYKcmyk(50.2%, 68%, 0%, 14.1%)
CIE-LABlab(42.38, 51.98, -70.59)
CIE-LCHlch(42.38, 87.67, 306.37°)
OKLaboklab(52.59% 0.0692 -0.2026)
OKLCHoklch(52.59% 0.214 288.8)
XYZxyz(21.2793, 12.7451, 68.3429)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46DB #B4DB46
analogous
#466ADB #6D46DB #B846DB
triadic
#6D46DB #DB6D46 #46DB6D
tetradic
#6D46DB #DB466A #B4DB46 #46DBB8
square
#6D46DB #DB466A #B4DB46 #46DBB8
split-complementary
#6D46DB #DBB846 #6ADB46
monochromatic
#391B8B #4D25BF #6D46DB #9579E5 #BEACEF

Accessibility & contrast

On white

5.92
#6D46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6D46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46DB#FFFFFF#000000##FFFFFF
##6D46DB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d46db;
/* rgb */ color: rgb(109, 70, 219);
/* oklch */ color: oklch(52.6% 0.214 288.8);
Tailwind
colors: {
  custom: {
    50: '#a07ce7',
    500: '#6d46db',
    950: '#000000',
  },
}
SCSS
$custom: #6d46db;
$custom-light: #a07ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46db",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 255.705,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.21407,
    "h": 288.8
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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