#6748AF#6748AF

#6748AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.157 H 293.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6748AF
RGBrgb(103, 72, 175)
HSLhsl(258, 42%, 48%)
HSVhsv(258, 59%, 69%)
CMYKcmyk(41.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(38.92, 37.30, -50.63)
CIE-LCHlch(38.92, 62.89, 306.38°)
OKLaboklab(48.92% 0.0631 -0.1441)
OKLCHoklch(48.92% 0.157 293.6)
XYZxyz(15.6467, 10.6130, 41.7733)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748AF #90AF48
analogous
#485DAF #6748AF #9A48AF
triadic
#6748AF #AF6748 #48AF67
tetradic
#6748AF #AF485D #90AF48 #48AF9A
square
#6748AF #AF485D #90AF48 #48AF9A
split-complementary
#6748AF #AF9A48 #5DAF48
monochromatic
#342458 #4D3684 #6748AF #8970C4 #AD9BD6

Accessibility & contrast

On white

6.73
#6748AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6748AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748AF#FFFFFF#000000##FFFFFF
##6748AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#545E74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6748af;
/* rgb */ color: rgb(103, 72, 175);
/* oklch */ color: oklch(48.9% 0.157 293.6);
Tailwind
colors: {
  custom: {
    50: '#977cc7',
    500: '#6748af',
    950: '#000000',
  },
}
SCSS
$custom: #6748af;
$custom-light: #977cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6748af",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 258.058,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48917,
    "c": 0.15731,
    "h": 293.6
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#6748AF
secondary
#B3C290
accent
#D256AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6748AF

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

Preview Lab → · Contrast checker → · Palette generator →

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