#6728A6#6728A6

#6728A6 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.188 H 301.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6728A6
RGBrgb(103, 40, 166)
HSLhsl(270, 61%, 40%)
HSVhsv(270, 76%, 65%)
CMYKcmyk(38%, 75.9%, 0%, 34.9%)
CIE-LABlab(32.16, 51.58, -56.23)
CIE-LCHlch(32.16, 76.30, 312.53°)
OKLaboklab(43.84% 0.0989 -0.1604)
OKLCHoklch(43.84% 0.188 301.6)
XYZxyz(13.2336, 7.1543, 36.7527)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A6 #67A628
analogous
#2828A6 #6728A6 #A628A6
triadic
#6728A6 #A66728 #28A667
tetradic
#6728A6 #A62828 #67A628 #28A6A6
square
#6728A6 #A62828 #67A628 #28A6A6
split-complementary
#6728A6 #A6A628 #28A628
monochromatic
#2A1043 #481C75 #6728A6 #863BD0 #A46DDC

Accessibility & contrast

On white

8.64
#6728A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6728A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728A6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728A6#FFFFFF#000000##FFFFFF
##6728A61.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#594865
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6728a6;
/* rgb */ color: rgb(103, 40, 166);
/* oklch */ color: oklch(43.8% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#9869c1',
    500: '#6728a6',
    950: '#000000',
  },
}
SCSS
$custom: #6728a6;
$custom-light: #9869c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a6",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.18848,
    "h": 301.6
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#6728A6
secondary
#95C267
accent
#E44494
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6728A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6728A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva