#6746BF#6746BF

#6746BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.180 H 290.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6746BF
RGBrgb(103, 70, 191)
HSLhsl(256, 49%, 51%)
HSVhsv(256, 63%, 75%)
CMYKcmyk(46.1%, 63.4%, 0%, 25.1%)
CIE-LABlab(39.62, 42.98, -58.91)
CIE-LCHlch(39.62, 72.93, 306.11°)
OKLaboklab(49.79% 0.0645 -0.1685)
OKLCHoklch(49.79% 0.18 290.9)
XYZxyz(17.1850, 11.0249, 50.5027)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746BF #9EBF46
analogous
#4661BF #6746BF #A346BF
triadic
#6746BF #BF6746 #46BF67
tetradic
#6746BF #BF4661 #9EBF46 #46BFA3
square
#6746BF #BF4661 #9EBF46 #46BFA3
split-complementary
#6746BF #BFA346 #61BF46
monochromatic
#362467 #4E3394 #6746BF #8C73CF #B2A1DE

Accessibility & contrast

On white

6.55
#6746BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6746BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746BF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746BF#FFFFFF#000000##FFFFFF
##6746BF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#4C627C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6746bf;
/* rgb */ color: rgb(103, 70, 191);
/* oklch */ color: oklch(49.8% 0.180 290.9);
Tailwind
colors: {
  custom: {
    50: '#997bd3',
    500: '#6746bf',
    950: '#000000',
  },
}
SCSS
$custom: #6746bf;
$custom-light: #997bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6746bf",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.18038,
    "h": 290.9
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#6746BF
secondary
#BDCB96
accent
#D850B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6746BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6746BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva