#6728A1#6728A1

#6728A1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.183 H 303.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6728A1
RGBrgb(103, 40, 161)
HSLhsl(271, 60%, 39%)
HSVhsv(271, 75%, 63%)
CMYKcmyk(36%, 75.2%, 0%, 36.9%)
CIE-LABlab(31.75, 50.37, -53.87)
CIE-LCHlch(31.75, 73.75, 313.07°)
OKLaboklab(43.43% 0.1 -0.1535)
OKLCHoklch(43.43% 0.183 303.1)
XYZxyz(12.7838, 6.9744, 34.3840)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A1 #62A128
analogous
#2B28A1 #6728A1 #A1289F
triadic
#6728A1 #A16728 #28A167
tetradic
#6728A1 #A12B28 #62A128 #289FA1
square
#6728A1 #A12B28 #62A128 #289FA1
split-complementary
#6728A1 #9FA128 #28A12B
monochromatic
#28103F #481C70 #6728A1 #8639CE #A46ADA

Accessibility & contrast

On white

8.77
#6728A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6728A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728A1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728A1#FFFFFF#000000##FFFFFF
##6728A11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#5B4663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6728a1;
/* rgb */ color: rgb(103, 40, 161);
/* oklch */ color: oklch(43.4% 0.183 303.1);
Tailwind
colors: {
  custom: {
    50: '#9868be',
    500: '#6728a1',
    950: '#000000',
  },
}
SCSS
$custom: #6728a1;
$custom-light: #9868be;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a1",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 271.24,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.18324,
    "h": 303.1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#6728A1
secondary
#91C065
accent
#E34491
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6728A1

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

Preview Lab → · Contrast checker → · Palette generator →

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