#6745AB#6745AB

#6745AB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.157 H 295.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6745AB
RGBrgb(103, 69, 171)
HSLhsl(260, 43%, 47%)
HSVhsv(260, 60%, 67%)
CMYKcmyk(39.8%, 59.6%, 0%, 32.9%)
CIE-LABlab(37.99, 37.93, -49.77)
CIE-LCHlch(37.99, 62.57, 307.31°)
OKLaboklab(48.15% 0.0668 -0.1416)
OKLCHoklch(48.15% 0.157 295.3)
XYZxyz(15.0704, 10.0798, 39.6718)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745AB #89AB45
analogous
#4556AB #6745AB #9A45AB
triadic
#6745AB #AB6745 #45AB67
tetradic
#6745AB #AB4556 #89AB45 #45AB9A
square
#6745AB #AB4556 #89AB45 #45AB9A
split-complementary
#6745AB #AB9A45 #56AB45
monochromatic
#322254 #4D337F #6745AB #886AC3 #AB96D5

Accessibility & contrast

On white

6.96
#6745AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6745AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745AB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745AB#FFFFFF#000000##FFFFFF
##6745AB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#565B71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6745ab;
/* rgb */ color: rgb(103, 69, 171);
/* oklch */ color: oklch(48.1% 0.157 295.3);
Tailwind
colors: {
  custom: {
    50: '#977ac5',
    500: '#6745ab',
    950: '#000000',
  },
}
SCSS
$custom: #6745ab;
$custom-light: #977ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6745ab",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.15653,
    "h": 295.3
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#6745AB
secondary
#AFC08B
accent
#D256A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6745AB

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

Preview Lab → · Contrast checker → · Palette generator →

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