#6745AF#6745AF

#6745AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.4% C 0.162 H 294.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6745AF
RGBrgb(103, 69, 175)
HSLhsl(259, 43%, 48%)
HSVhsv(259, 61%, 69%)
CMYKcmyk(41.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(38.26, 39.04, -51.70)
CIE-LCHlch(38.26, 64.78, 307.06°)
OKLaboklab(48.43% 0.0666 -0.1472)
OKLCHoklch(48.43% 0.162 294.3)
XYZxyz(15.4574, 10.2346, 41.7102)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745AF #8DAF45
analogous
#4558AF #6745AF #9C45AF
triadic
#6745AF #AF6745 #45AF67
tetradic
#6745AF #AF4558 #8DAF45 #45AF9C
square
#6745AF #AF4558 #8DAF45 #45AF9C
split-complementary
#6745AF #AF9C45 #58AF45
monochromatic
#332257 #4D3483 #6745AF #896CC5 #AC98D6

Accessibility & contrast

On white

6.89
#6745AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6745AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6745AF#FFFFFF#000000##FFFFFF
##6745AF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0B58AD
Tritanopia (blue-blind)
#545C73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6745af;
/* rgb */ color: rgb(103, 69, 175);
/* oklch */ color: oklch(48.4% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#977ac8',
    500: '#6745af',
    950: '#000000',
  },
}
SCSS
$custom: #6745af;
$custom-light: #977ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6745af",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 259.245,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.16163,
    "h": 294.3
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#6745AF
secondary
#B1C28D
accent
#D355AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6745AF

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

Preview Lab → · Contrast checker → · Palette generator →

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