#6B46D1#6B46D1

#6B46D1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.202 H 289.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B46D1
RGBrgb(107, 70, 209)
HSLhsl(256, 60%, 55%)
HSVhsv(256, 67%, 82%)
CMYKcmyk(48.8%, 66.5%, 0%, 18%)
CIE-LABlab(41.39, 48.83, -66.47)
CIE-LCHlch(41.39, 82.48, 306.30°)
OKLaboklab(51.59% 0.0679 -0.1905)
OKLCHoklch(51.59% 0.202 289.6)
XYZxyz(19.7589, 12.1088, 61.6054)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46D1 #ACD146
analogous
#4667D1 #6B46D1 #B046D1
triadic
#6B46D1 #D16B46 #46D16B
tetradic
#6B46D1 #D14667 #ACD146 #46D1B0
square
#6B46D1 #D14667 #ACD146 #46D1B0
split-complementary
#6B46D1 #D1B046 #67D146
monochromatic
#381F7D #4E2BAE #6B46D1 #9277DD #B9A8E9

Accessibility & contrast

On white

6.14
#6B46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6B46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46D1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46D1#FFFFFF#000000##FFFFFF
##6B46D11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#496886
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b46d1;
/* rgb */ color: rgb(107, 70, 209);
/* oklch */ color: oklch(51.6% 0.202 289.6);
Tailwind
colors: {
  custom: {
    50: '#9e7ce0',
    500: '#6b46d1',
    950: '#000000',
  },
}
SCSS
$custom: #6b46d1;
$custom-light: #9e7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46d1",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 255.971,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.20229,
    "h": 289.6
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#6B46D1
secondary
#C7D79C
accent
#E344B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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