#6728A3#6728A3

#6728A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.185 H 302.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6728A3
RGBrgb(103, 40, 163)
HSLhsl(271, 61%, 40%)
HSVhsv(271, 75%, 64%)
CMYKcmyk(36.8%, 75.5%, 0%, 36.1%)
CIE-LABlab(31.91, 50.85, -54.82)
CIE-LCHlch(31.91, 74.77, 312.85°)
OKLaboklab(43.59% 0.0996 -0.1563)
OKLCHoklch(43.59% 0.185 302.5)
XYZxyz(12.9616, 7.0455, 35.3203)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A3 #64A328
analogous
#2A28A3 #6728A3 #A328A1
triadic
#6728A3 #A36728 #28A367
tetradic
#6728A3 #A32A28 #64A328 #28A1A3
square
#6728A3 #A32A28 #64A328 #28A1A3
split-complementary
#6728A3 #A1A328 #28A32A
monochromatic
#291041 #481C72 #6728A3 #863ACF #A46BDB

Accessibility & contrast

On white

8.72
#6728A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6728A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728A3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728A3#FFFFFF#000000##FFFFFF
##6728A31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#5A4764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6728a3;
/* rgb */ color: rgb(103, 40, 163);
/* oklch */ color: oklch(43.6% 0.185 302.5);
Tailwind
colors: {
  custom: {
    50: '#9869bf',
    500: '#6728a3',
    950: '#000000',
  },
}
SCSS
$custom: #6728a3;
$custom-light: #9869bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a3",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 270.732,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.18533,
    "h": 302.5
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#6728A3
secondary
#92C166
accent
#E44492
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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