#6B46BF#6B46BF

#6B46BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.180 H 292.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6B46BF
RGBrgb(107, 70, 191)
HSLhsl(258, 49%, 51%)
HSVhsv(258, 63%, 75%)
CMYKcmyk(44%, 63.4%, 0%, 25.1%)
CIE-LABlab(40.03, 43.79, -58.24)
CIE-LCHlch(40.03, 72.87, 306.94°)
OKLaboklab(50.18% 0.0699 -0.1663)
OKLCHoklch(50.18% 0.18 292.8)
XYZxyz(17.6550, 11.2672, 50.5247)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46BF #9ABF46
analogous
#465DBF #6B46BF #A746BF
triadic
#6B46BF #BF6B46 #46BF6B
tetradic
#6B46BF #BF465D #9ABF46 #46BFA7
square
#6B46BF #BF465D #9ABF46 #46BFA7
split-complementary
#6B46BF #BFA746 #5DBF46
monochromatic
#382467 #513394 #6B46BF #8F73CF #B4A1DE

Accessibility & contrast

On white

6.45
#6B46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6B46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46BF#FFFFFF#000000##FFFFFF
##6B46BF1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#53627C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b46bf;
/* rgb */ color: rgb(107, 70, 191);
/* oklch */ color: oklch(50.2% 0.180 292.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bd3',
    500: '#6b46bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b46bf;
$custom-light: #9c7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46bf",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 258.347,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.18045,
    "h": 292.8
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#6B46BF
secondary
#BBCB96
accent
#D850AE
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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