#6428A6#6428A6

#6428A6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.188 H 300.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6428A6
RGBrgb(100, 40, 166)
HSLhsl(269, 61%, 40%)
HSVhsv(269, 76%, 65%)
CMYKcmyk(39.8%, 75.9%, 0%, 34.9%)
CIE-LABlab(31.76, 51.06, -56.89)
CIE-LCHlch(31.76, 76.44, 311.91°)
OKLaboklab(43.48% 0.0945 -0.1625)
OKLCHoklch(43.48% 0.188 300.2)
XYZxyz(12.8955, 6.9800, 36.7369)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A6 #6AA628
analogous
#282BA6 #6428A6 #A328A6
triadic
#6428A6 #A66428 #28A664
tetradic
#6428A6 #A6282B #6AA628 #28A6A3
square
#6428A6 #A6282B #6AA628 #28A6A3
split-complementary
#6428A6 #A6A328 #2BA628
monochromatic
#291043 #461C75 #6428A6 #823BD0 #A26DDC

Accessibility & contrast

On white

8.76
#6428A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6428A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A6#FFFFFF#000000##FFFFFF
##6428A61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#554965
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6428a6;
/* rgb */ color: rgb(100, 40, 166);
/* oklch */ color: oklch(43.5% 0.188 300.2);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6428a6',
    950: '#000000',
  },
}
SCSS
$custom: #6428a6;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a6",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 268.571,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.18798,
    "h": 300.2
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#6428A6
secondary
#97C267
accent
#E44498
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6428A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6428A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva