#6745AA#6745AA

#6745AA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.155 H 295.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6745AA
RGBrgb(103, 69, 170)
HSLhsl(260, 42%, 47%)
HSVhsv(260, 59%, 67%)
CMYKcmyk(39.4%, 59.4%, 0%, 33.3%)
CIE-LABlab(37.92, 37.65, -49.28)
CIE-LCHlch(37.92, 62.02, 307.38°)
OKLaboklab(48.07% 0.0668 -0.1401)
OKLCHoklch(48.07% 0.155 295.5)
XYZxyz(14.9754, 10.0418, 39.1717)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745AA #88AA45
analogous
#4556AA #6745AA #9A45AA
triadic
#6745AA #AA6745 #45AA67
tetradic
#6745AA #AA4556 #88AA45 #45AA9A
square
#6745AA #AA4556 #88AA45 #45AA9A
split-complementary
#6745AA #AA9A45 #56AA45
monochromatic
#322253 #4D337E #6745AA #886AC2 #AA95D4

Accessibility & contrast

On white

6.98
#6745AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6745AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6745AA#FFFFFF#000000##FFFFFF
##6745AA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035AAD
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#565B71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6745aa;
/* rgb */ color: rgb(103, 69, 170);
/* oklch */ color: oklch(48.1% 0.155 295.5);
Tailwind
colors: {
  custom: {
    50: '#977ac4',
    500: '#6745aa',
    950: '#000000',
  },
}
SCSS
$custom: #6745aa;
$custom-light: #977ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6745aa",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 260.198,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.15525,
    "h": 295.5
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#6745AA
secondary
#AEC08B
accent
#D256A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6745AA

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

Preview Lab → · Contrast checker → · Palette generator →

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