#6728AD#6728AD

#6728AD is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.196 H 299.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6728AD
RGBrgb(103, 40, 173)
HSLhsl(268, 62%, 42%)
HSVhsv(268, 77%, 68%)
CMYKcmyk(40.5%, 76.9%, 0%, 32.2%)
CIE-LABlab(32.74, 53.30, -59.47)
CIE-LCHlch(32.74, 79.86, 311.86°)
OKLaboklab(44.43% 0.0972 -0.17)
OKLCHoklch(44.43% 0.196 299.7)
XYZxyz(13.8932, 7.4181, 40.2269)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728AD #6EAD28
analogous
#282CAD #6728AD #AA28AD
triadic
#6728AD #AD6728 #28AD67
tetradic
#6728AD #AD282C #6EAD28 #28ADAA
square
#6728AD #AD282C #6EAD28 #28ADAA
split-complementary
#6728AD #ADAA28 #2CAD28
monochromatic
#2C114A #491D7B #6728AD #853FD3 #A571DE

Accessibility & contrast

On white

8.46
#6728AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6728AD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728AD#FFFFFF#000000##FFFFFF
##6728AD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#564B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6728ad;
/* rgb */ color: rgb(103, 40, 173);
/* oklch */ color: oklch(44.4% 0.196 299.7);
Tailwind
colors: {
  custom: {
    50: '#9969c6',
    500: '#6728ad',
    950: '#000000',
  },
}
SCSS
$custom: #6728ad;
$custom-light: #9969c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6728ad",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 268.421,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.19579,
    "h": 299.7
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#6728AD
secondary
#9BC56C
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728AD

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

Preview Lab → · Contrast checker → · Palette generator →

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