#6728B0#6728B0

#6728B0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.199 H 299.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6728B0
RGBrgb(103, 40, 176)
HSLhsl(268, 63%, 42%)
HSVhsv(268, 77%, 69%)
CMYKcmyk(41.5%, 77.3%, 0%, 31%)
CIE-LABlab(33.00, 54.04, -60.85)
CIE-LCHlch(33.00, 81.38, 311.61°)
OKLaboklab(44.69% 0.0964 -0.174)
OKLCHoklch(44.69% 0.199 299)
XYZxyz(14.1868, 7.5355, 41.7729)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6728B0 #71B028
analogous
#282DB0 #6728B0 #AB28B0
triadic
#6728B0 #B06728 #28B067
tetradic
#6728B0 #B0282D #71B028 #28B0AB
square
#6728B0 #B0282D #71B028 #28B0AB
split-complementary
#6728B0 #B0AB28 #2DB028
monochromatic
#2D114C #4A1D7E #6728B0 #8541D4 #A573DF

Accessibility & contrast

On white

8.38
#6728B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6728B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6728B0#FFFFFF#000000##FFFFFF
##6728B01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#554C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6728b0;
/* rgb */ color: rgb(103, 40, 176);
/* oklch */ color: oklch(44.7% 0.199 299.0);
Tailwind
colors: {
  custom: {
    50: '#9969c9',
    500: '#6728b0',
    950: '#000000',
  },
}
SCSS
$custom: #6728b0;
$custom-light: #9969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6728b0",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 267.794,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.19893,
    "h": 299
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#6728B0
secondary
#9DC66D
accent
#E6429A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6728B0

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

Preview Lab → · Contrast checker → · Palette generator →

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