#6B46BB#6B46BB

#6B46BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.176 H 293.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6B46BB
RGBrgb(107, 70, 187)
HSLhsl(259, 46%, 50%)
HSVhsv(259, 63%, 73%)
CMYKcmyk(42.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.74, 42.68, -56.37)
CIE-LCHlch(39.74, 70.70, 307.13°)
OKLaboklab(49.88% 0.0703 -0.1608)
OKLCHoklch(49.88% 0.176 293.6)
XYZxyz(17.2208, 11.0935, 48.2380)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46BB #96BB46
analogous
#465CBB #6B46BB #A546BB
triadic
#6B46BB #BB6B46 #46BB6B
tetradic
#6B46BB #BB465C #96BB46 #46BBA5
square
#6B46BB #BB465C #96BB46 #46BBA5
split-complementary
#6B46BB #BBA546 #5CBB46
monochromatic
#382462 #51358F #6B46BB #8F73CB #B3A0DC

Accessibility & contrast

On white

6.52
#6B46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6B46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46BB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46BB#FFFFFF#000000##FFFFFF
##6B46BB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#55617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b46bb;
/* rgb */ color: rgb(107, 70, 187);
/* oklch */ color: oklch(49.9% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#9b7bd0',
    500: '#6b46bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b46bb;
$custom-light: #9b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46bb",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 258.974,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.17552,
    "h": 293.6
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#6B46BB
secondary
#B8C894
accent
#D652AC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6B46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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