#6745BF#6745BF

#6745BF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.182 H 291.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6745BF
RGBrgb(103, 69, 191)
HSLhsl(257, 49%, 51%)
HSVhsv(257, 64%, 75%)
CMYKcmyk(46.1%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.41, 43.54, -59.26)
CIE-LCHlch(39.41, 73.53, 306.31°)
OKLaboklab(49.64% 0.0655 -0.1695)
OKLCHoklch(49.64% 0.182 291.1)
XYZxyz(17.1230, 10.9008, 50.4820)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745BF #9DBF45
analogous
#4560BF #6745BF #A445BF
triadic
#6745BF #BF6745 #45BF67
tetradic
#6745BF #BF4560 #9DBF45 #45BFA4
square
#6745BF #BF4560 #9DBF45 #45BFA4
split-complementary
#6745BF #BFA445 #60BF45
monochromatic
#362366 #4E3394 #6745BF #8C73CF #B1A0DE

Accessibility & contrast

On white

6.60
#6745BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6745BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745BF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745BF#FFFFFF#000000##FFFFFF
##6745BF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6745bf;
/* rgb */ color: rgb(103, 69, 191);
/* oklch */ color: oklch(49.6% 0.182 291.1);
Tailwind
colors: {
  custom: {
    50: '#997ad3',
    500: '#6745bf',
    950: '#000000',
  },
}
SCSS
$custom: #6745bf;
$custom-light: #997ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6745bf",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 256.721,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.1817,
    "h": 291.1
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#6745BF
secondary
#BCCB95
accent
#D84FB2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6745BF

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

Preview Lab → · Contrast checker → · Palette generator →

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