#6728A8#6728A8

#6728A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.191 H 301.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6728A8
RGBrgb(103, 40, 168)
HSLhsl(270, 62%, 41%)
HSVhsv(270, 76%, 66%)
CMYKcmyk(38.7%, 76.2%, 0%, 34.1%)
CIE-LABlab(32.32, 52.07, -57.16)
CIE-LCHlch(32.32, 77.32, 312.33°)
OKLaboklab(44.01% 0.0984 -0.1632)
OKLCHoklch(44.01% 0.191 301.1)
XYZxyz(13.4185, 7.2282, 37.7264)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A8 #69A828
analogous
#2829A8 #6728A8 #A728A8
triadic
#6728A8 #A86728 #28A867
tetradic
#6728A8 #A82829 #69A828 #28A8A7
square
#6728A8 #A82829 #69A828 #28A8A7
split-complementary
#6728A8 #A8A728 #29A828
monochromatic
#2A1045 #491C77 #6728A8 #853DD1 #A46EDC

Accessibility & contrast

On white

8.59
#6728A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6728A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728A8#FFFFFF#000000##FFFFFF
##6728A81.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#584967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6728a8;
/* rgb */ color: rgb(103, 40, 168);
/* oklch */ color: oklch(44.0% 0.191 301.1);
Tailwind
colors: {
  custom: {
    50: '#9869c3',
    500: '#6728a8',
    950: '#000000',
  },
}
SCSS
$custom: #6728a8;
$custom-light: #9869c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a8",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 269.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.19057,
    "h": 301.1
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#6728A8
secondary
#97C369
accent
#E54395
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6728A8

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

Preview Lab → · Contrast checker → · Palette generator →

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