#6728AA#6728AA

#6728AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.193 H 300.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6728AA
RGBrgb(103, 40, 170)
HSLhsl(269, 62%, 41%)
HSVhsv(269, 76%, 67%)
CMYKcmyk(39.4%, 76.5%, 0%, 33.3%)
CIE-LABlab(32.49, 52.56, -58.09)
CIE-LCHlch(32.49, 78.34, 312.14°)
OKLaboklab(44.18% 0.0979 -0.1659)
OKLCHoklch(44.18% 0.193 300.5)
XYZxyz(13.6062, 7.3033, 38.7153)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728AA #6BAA28
analogous
#282AAA #6728AA #A828AA
triadic
#6728AA #AA6728 #28AA67
tetradic
#6728AA #AA282A #6BAA28 #28AAA8
square
#6728AA #AA282A #6BAA28 #28AAA8
split-complementary
#6728AA #AAA828 #2AAA28
monochromatic
#2B1147 #491C78 #6728AA #853ED2 #A56FDD

Accessibility & contrast

On white

8.53
#6728AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6728AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728AA#FFFFFF#000000##FFFFFF
##6728AA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#584A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6728aa;
/* rgb */ color: rgb(103, 40, 170);
/* oklch */ color: oklch(44.2% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#9969c4',
    500: '#6728aa',
    950: '#000000',
  },
}
SCSS
$custom: #6728aa;
$custom-light: #9969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6728aa",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 269.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.19266,
    "h": 300.5
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#6728AA
secondary
#98C46A
accent
#E54396
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728AA

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

Preview Lab → · Contrast checker → · Palette generator →

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