#6B46BD#6B46BD

#6B46BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.178 H 293.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6B46BD
RGBrgb(107, 70, 189)
HSLhsl(259, 47%, 51%)
HSVhsv(259, 63%, 74%)
CMYKcmyk(43.4%, 63%, 0%, 25.9%)
CIE-LABlab(39.88, 43.23, -57.31)
CIE-LCHlch(39.88, 71.79, 307.03°)
OKLaboklab(50.03% 0.0701 -0.1636)
OKLCHoklch(50.03% 0.178 293.2)
XYZxyz(17.4364, 11.1797, 49.3735)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46BD #98BD46
analogous
#465DBD #6B46BD #A646BD
triadic
#6B46BD #BD6B46 #46BD6B
tetradic
#6B46BD #BD465D #98BD46 #46BDA6
square
#6B46BD #BD465D #98BD46 #46BDA6
split-complementary
#6B46BD #BDA646 #5DBD46
monochromatic
#382465 #513492 #6B46BD #8F73CD #B3A0DD

Accessibility & contrast

On white

6.49
#6B46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6B46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46BD#FFFFFF#000000##FFFFFF
##6B46BD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#54617B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b46bd;
/* rgb */ color: rgb(107, 70, 189);
/* oklch */ color: oklch(50.0% 0.178 293.2);
Tailwind
colors: {
  custom: {
    50: '#9b7bd2',
    500: '#6b46bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b46bd;
$custom-light: #9b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46bd",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 258.655,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.17799,
    "h": 293.2
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#6B46BD
secondary
#B9CA95
accent
#D751AD
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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