#6748BF#6748BF

#6748BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.178 H 290.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6748BF
RGBrgb(103, 72, 191)
HSLhsl(256, 48%, 52%)
HSVhsv(256, 62%, 75%)
CMYKcmyk(46.1%, 62.3%, 0%, 25.1%)
CIE-LABlab(40.05, 41.85, -58.23)
CIE-LCHlch(40.05, 71.70, 305.70°)
OKLaboklab(50.1% 0.0623 -0.1664)
OKLCHoklch(50.1% 0.178 290.5)
XYZxyz(17.3122, 11.2793, 50.5451)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748BF #A0BF48
analogous
#4865BF #6748BF #A348BF
triadic
#6748BF #BF6748 #48BF67
tetradic
#6748BF #BF4865 #A0BF48 #48BFA3
square
#6748BF #BF4865 #A0BF48 #48BFA3
split-complementary
#6748BF #BFA348 #65BF48
monochromatic
#362468 #4E3496 #6748BF #8D75CF #B2A3DF

Accessibility & contrast

On white

6.45
#6748BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6748BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748BF#FFFFFF#000000##FFFFFF
##6748BF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#4C647D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6748bf;
/* rgb */ color: rgb(103, 72, 191);
/* oklch */ color: oklch(50.1% 0.178 290.5);
Tailwind
colors: {
  custom: {
    50: '#997cd3',
    500: '#6748bf',
    950: '#000000',
  },
}
SCSS
$custom: #6748bf;
$custom-light: #997cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6748bf",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 255.63,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.17772,
    "h": 290.5
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#6748BF
secondary
#BECC97
accent
#D850B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6748BF

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

Preview Lab → · Contrast checker → · Palette generator →

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