#6B46BE#6B46BE

#6B46BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.179 H 293.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6B46BE
RGBrgb(107, 70, 190)
HSLhsl(259, 48%, 51%)
HSVhsv(259, 63%, 75%)
CMYKcmyk(43.7%, 63.2%, 0%, 25.5%)
CIE-LABlab(39.95, 43.51, -57.77)
CIE-LCHlch(39.95, 72.33, 306.99°)
OKLaboklab(50.1% 0.07 -0.165)
OKLCHoklch(50.1% 0.179 293)
XYZxyz(17.5453, 11.2233, 49.9471)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46BE #99BE46
analogous
#465DBE #6B46BE #A746BE
triadic
#6B46BE #BE6B46 #46BE6B
tetradic
#6B46BE #BE465D #99BE46 #46BEA7
square
#6B46BE #BE465D #99BE46 #46BEA7
split-complementary
#6B46BE #BEA746 #5DBE46
monochromatic
#382466 #513493 #6B46BE #8F73CE #B3A1DE

Accessibility & contrast

On white

6.47
#6B46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B46BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46BE#FFFFFF#000000##FFFFFF
##6B46BE1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#54627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b46be;
/* rgb */ color: rgb(107, 70, 190);
/* oklch */ color: oklch(50.1% 0.179 293.0);
Tailwind
colors: {
  custom: {
    50: '#9b7bd2',
    500: '#6b46be',
    950: '#000000',
  },
}
SCSS
$custom: #6b46be;
$custom-light: #9b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46be",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 258.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.17923,
    "h": 293
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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