#6728A4#6728A4

#6728A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.186 H 302.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6728A4
RGBrgb(103, 40, 164)
HSLhsl(270, 61%, 40%)
HSVhsv(270, 76%, 64%)
CMYKcmyk(37.2%, 75.6%, 0%, 35.7%)
CIE-LABlab(31.99, 51.10, -55.29)
CIE-LCHlch(31.99, 75.28, 312.74°)
OKLaboklab(43.67% 0.0993 -0.1577)
OKLCHoklch(43.67% 0.186 302.2)
XYZxyz(13.0515, 7.0814, 35.7940)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728A4 #65A428
analogous
#2928A4 #6728A4 #A428A3
triadic
#6728A4 #A46728 #28A467
tetradic
#6728A4 #A42928 #65A428 #28A3A4
square
#6728A4 #A42928 #65A428 #28A3A4
split-complementary
#6728A4 #A3A428 #28A429
monochromatic
#291042 #481C73 #6728A4 #863ACF #A46BDB

Accessibility & contrast

On white

8.69
#6728A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6728A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728A4#FFFFFF#000000##FFFFFF
##6728A41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#5A4864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6728a4;
/* rgb */ color: rgb(103, 40, 164);
/* oklch */ color: oklch(43.7% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#9869c0',
    500: '#6728a4',
    950: '#000000',
  },
}
SCSS
$custom: #6728a4;
$custom-light: #9869c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6728a4",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 270.484,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.18638,
    "h": 302.2
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#6728A4
secondary
#93C166
accent
#E44493
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6728A4

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

Preview Lab → · Contrast checker → · Palette generator →

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