#6B46DB#6B46DB

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

Color values

HEX#6B46DB
RGBrgb(107, 70, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(51.1%, 68%, 0%, 14.1%)
CIE-LABlab(42.18, 51.65, -70.91)
CIE-LCHlch(42.18, 87.73, 306.07°)
OKLaboklab(52.41% 0.0664 -0.2036)
OKLCHoklch(52.41% 0.214 288.1)
XYZxyz(21.0360, 12.6196, 68.3315)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46DB #B6DB46
analogous
#466CDB #6B46DB #B546DB
triadic
#6B46DB #DB6B46 #46DB6B
tetradic
#6B46DB #DB466C #B6DB46 #46DBB5
square
#6B46DB #DB466C #B6DB46 #46DBB5
split-complementary
#6B46DB #DBB546 #6CDB46
monochromatic
#371B8B #4B25BF #6B46DB #9479E5 #BDACEF

Accessibility & contrast

On white

5.96
#6B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6B46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46DB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46DB#FFFFFF#000000##FFFFFF
##6B46DB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b46db;
/* rgb */ color: rgb(107, 70, 219);
/* oklch */ color: oklch(52.4% 0.214 288.1);
Tailwind
colors: {
  custom: {
    50: '#9f7ce7',
    500: '#6b46db',
    950: '#000000',
  },
}
SCSS
$custom: #6b46db;
$custom-light: #9f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46db",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 254.899,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.21416,
    "h": 288.1
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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