#6728A5#6728A5

#6728A5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.187 H 301.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6728A5
RGBrgb(103, 40, 165)
HSLhsl(270, 61%, 40%)
HSVhsv(270, 76%, 65%)
CMYKcmyk(37.6%, 75.8%, 0%, 35.3%)
CIE-LABlab(32.07, 51.34, -55.76)
CIE-LCHlch(32.07, 75.79, 312.64°)
OKLaboklab(43.76% 0.0991 -0.1591)
OKLCHoklch(43.76% 0.187 301.9)
XYZxyz(13.1422, 7.1177, 36.2715)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A5 #66A528
analogous
#2828A5 #6728A5 #A528A5
triadic
#6728A5 #A56728 #28A567
tetradic
#6728A5 #A52828 #66A528 #28A5A5
square
#6728A5 #A52828 #66A528 #28A5A5
split-complementary
#6728A5 #A5A528 #28A528
monochromatic
#2A1042 #481C74 #6728A5 #863BCF #A46CDB

Accessibility & contrast

On white

8.66
#6728A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6728A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728A5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728A5#FFFFFF#000000##FFFFFF
##6728A51.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#5A4865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6728a5;
/* rgb */ color: rgb(103, 40, 165);
/* oklch */ color: oklch(43.8% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#9869c1',
    500: '#6728a5',
    950: '#000000',
  },
}
SCSS
$custom: #6728a5;
$custom-light: #9869c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a5",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 270.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.18743,
    "h": 301.9
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#6728A5
secondary
#94C267
accent
#E44493
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6728A5

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

Preview Lab → · Contrast checker → · Palette generator →

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