#6728AB#6728AB

#6728AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 300.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6728AB
RGBrgb(103, 40, 171)
HSLhsl(269, 62%, 41%)
HSVhsv(269, 77%, 67%)
CMYKcmyk(39.8%, 76.6%, 0%, 32.9%)
CIE-LABlab(32.57, 52.81, -58.55)
CIE-LCHlch(32.57, 78.85, 312.05°)
OKLaboklab(44.26% 0.0977 -0.1673)
OKLCHoklch(44.26% 0.194 300.3)
XYZxyz(13.7012, 7.3413, 39.2154)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728AB #6CAB28
analogous
#282BAB #6728AB #A928AB
triadic
#6728AB #AB6728 #28AB67
tetradic
#6728AB #AB282B #6CAB28 #28ABA9
square
#6728AB #AB282B #6CAB28 #28ABA9
split-complementary
#6728AB #ABA928 #2BAB28
monochromatic
#2B1148 #491C79 #6728AB #853ED2 #A570DE

Accessibility & contrast

On white

8.51
#6728AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6728AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728AB#FFFFFF#000000##FFFFFF
##6728AB1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#574A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6728ab;
/* rgb */ color: rgb(103, 40, 171);
/* oklch */ color: oklch(44.3% 0.194 300.3);
Tailwind
colors: {
  custom: {
    50: '#9969c5',
    500: '#6728ab',
    950: '#000000',
  },
}
SCSS
$custom: #6728ab;
$custom-light: #9969c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6728ab",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 268.855,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.19371,
    "h": 300.3
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#6728AB
secondary
#99C46A
accent
#E54397
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728AB

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

Preview Lab → · Contrast checker → · Palette generator →

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