#6728AC#6728AC

#6728AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.195 H 300.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6728AC
RGBrgb(103, 40, 172)
HSLhsl(269, 62%, 42%)
HSVhsv(269, 77%, 67%)
CMYKcmyk(40.1%, 76.7%, 0%, 32.5%)
CIE-LABlab(32.66, 53.05, -59.01)
CIE-LCHlch(32.66, 79.35, 311.95°)
OKLaboklab(44.35% 0.0974 -0.1686)
OKLCHoklch(44.35% 0.195 300)
XYZxyz(13.7968, 7.3796, 39.7192)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728AC #6DAC28
analogous
#282BAC #6728AC #A928AC
triadic
#6728AC #AC6728 #28AC67
tetradic
#6728AC #AC282B #6DAC28 #28ACA9
square
#6728AC #AC282B #6DAC28 #28ACA9
split-complementary
#6728AC #ACA928 #2BAC28
monochromatic
#2C1149 #491C7A #6728AC #853FD2 #A571DE

Accessibility & contrast

On white

8.48
#6728AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6728AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728AC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728AC#FFFFFF#000000##FFFFFF
##6728AC1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#574B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6728ac;
/* rgb */ color: rgb(103, 40, 172);
/* oklch */ color: oklch(44.3% 0.195 300.0);
Tailwind
colors: {
  custom: {
    50: '#9969c6',
    500: '#6728ac',
    950: '#000000',
  },
}
SCSS
$custom: #6728ac;
$custom-light: #9969c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6728ac",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 268.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.19475,
    "h": 300
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#6728AC
secondary
#9AC56B
accent
#E54298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728AC

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

Preview Lab → · Contrast checker → · Palette generator →

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