#6728AE#6728AE

#6728AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.197 H 299.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6728AE
RGBrgb(103, 40, 174)
HSLhsl(268, 63%, 42%)
HSVhsv(268, 77%, 68%)
CMYKcmyk(40.8%, 77%, 0%, 31.8%)
CIE-LABlab(32.83, 53.54, -59.93)
CIE-LCHlch(32.83, 80.37, 311.78°)
OKLaboklab(44.52% 0.0969 -0.1713)
OKLCHoklch(44.52% 0.197 299.5)
XYZxyz(13.9904, 7.4570, 40.7384)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728AE #6FAE28
analogous
#282CAE #6728AE #AA28AE
triadic
#6728AE #AE6728 #28AE67
tetradic
#6728AE #AE282C #6FAE28 #28AEAA
square
#6728AE #AE282C #6FAE28 #28AEAA
split-complementary
#6728AE #AEAA28 #2CAE28
monochromatic
#2C114A #4A1D7C #6728AE #8540D3 #A572DF

Accessibility & contrast

On white

8.43
#6728AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6728AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6728AE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6728AE#FFFFFF#000000##FFFFFF
##6728AE1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#564C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6728ae;
/* rgb */ color: rgb(103, 40, 174);
/* oklch */ color: oklch(44.5% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#9969c7',
    500: '#6728ae',
    950: '#000000',
  },
}
SCSS
$custom: #6728ae;
$custom-light: #9969c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6728ae",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 268.209,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.19684,
    "h": 299.5
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#6728AE
secondary
#9CC66C
accent
#E64299
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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