#6728B3#6728B3

#6728B3 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.202 H 298.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6728B3
RGBrgb(103, 40, 179)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 78%, 70%)
CMYKcmyk(42.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(33.26, 54.78, -62.21)
CIE-LCHlch(33.26, 82.89, 311.36°)
OKLaboklab(44.95% 0.0955 -0.178)
OKLCHoklch(44.95% 0.202 298.2)
XYZxyz(14.4869, 7.6556, 43.3535)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728B3 #74B328
analogous
#282FB3 #6728B3 #AC28B3
triadic
#6728B3 #B36728 #28B367
tetradic
#6728B3 #B3282F #74B328 #28B3AC
square
#6728B3 #B3282F #74B328 #28B3AC
split-complementary
#6728B3 #B3AC28 #2FB328
monochromatic
#2D124F #4A1D81 #6728B3 #8543D5 #A675E0

Accessibility & contrast

On white

8.30
#6728B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6728B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728B3#FFFFFF#000000##FFFFFF
##6728B31.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#544E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6728b3;
/* rgb */ color: rgb(103, 40, 179);
/* oklch */ color: oklch(44.9% 0.202 298.2);
Tailwind
colors: {
  custom: {
    50: '#9a69cb',
    500: '#6728b3',
    950: '#000000',
  },
}
SCSS
$custom: #6728b3;
$custom-light: #9a69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6728b3",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 267.194,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.20205,
    "h": 298.2
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#6728B3
secondary
#A0C86F
accent
#E6419C
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6728B3

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

Preview Lab → · Contrast checker → · Palette generator →

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