#6647AF#6647AF

#6647AF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.159 H 293.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6647AF
RGBrgb(102, 71, 175)
HSLhsl(258, 42%, 48%)
HSVhsv(258, 59%, 69%)
CMYKcmyk(41.7%, 59.4%, 0%, 31.4%)
CIE-LABlab(38.60, 37.66, -51.16)
CIE-LCHlch(38.60, 63.53, 306.35°)
OKLaboklab(48.66% 0.0629 -0.1457)
OKLCHoklch(48.66% 0.159 293.4)
XYZxyz(15.4685, 10.4260, 41.7465)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647AF #90AF47
analogous
#475CAF #6647AF #9A47AF
triadic
#6647AF #AF6647 #47AF66
tetradic
#6647AF #AF475C #90AF47 #47AF9A
square
#6647AF #AF475C #90AF47 #47AF9A
split-complementary
#6647AF #AF9A47 #5CAF47
monochromatic
#332458 #4D3583 #6647AF #886FC4 #AC9AD6

Accessibility & contrast

On white

6.81
#6647AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6647AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647AF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647AF#FFFFFF#000000##FFFFFF
##6647AF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#1059AD
Tritanopia (blue-blind)
#525E74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6647af;
/* rgb */ color: rgb(102, 71, 175);
/* oklch */ color: oklch(48.7% 0.159 293.4);
Tailwind
colors: {
  custom: {
    50: '#977bc7',
    500: '#6647af',
    950: '#000000',
  },
}
SCSS
$custom: #6647af;
$custom-light: #977bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6647af",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 257.885,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.1587,
    "h": 293.4
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#6647AF
secondary
#B3C28F
accent
#D256AD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6647AF

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

Preview Lab → · Contrast checker → · Palette generator →

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