#6728A9#6728A9

#6728A9 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.192 H 300.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6728A9
RGBrgb(103, 40, 169)
HSLhsl(269, 62%, 41%)
HSVhsv(269, 76%, 66%)
CMYKcmyk(39.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(32.40, 52.32, -57.63)
CIE-LCHlch(32.40, 77.83, 312.23°)
OKLaboklab(44.09% 0.0982 -0.1646)
OKLCHoklch(44.09% 0.192 300.8)
XYZxyz(13.5120, 7.2656, 38.2190)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A9 #6AA928
analogous
#282AA9 #6728A9 #A728A9
triadic
#6728A9 #A96728 #28A967
tetradic
#6728A9 #A9282A #6AA928 #28A9A7
square
#6728A9 #A9282A #6AA928 #28A9A7
split-complementary
#6728A9 #A9A728 #2AA928
monochromatic
#2B1146 #491C78 #6728A9 #853DD1 #A46FDD

Accessibility & contrast

On white

8.56
#6728A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6728A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728A9
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728A9#FFFFFF#000000##FFFFFF
##6728A91.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#584A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6728a9;
/* rgb */ color: rgb(103, 40, 169);
/* oklch */ color: oklch(44.1% 0.192 300.8);
Tailwind
colors: {
  custom: {
    50: '#9969c4',
    500: '#6728a9',
    950: '#000000',
  },
}
SCSS
$custom: #6728a9;
$custom-light: #9969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a9",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 269.302,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.19161,
    "h": 300.8
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#6728A9
secondary
#97C469
accent
#E54396
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6728A9

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

Preview Lab → · Contrast checker → · Palette generator →

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