#6428A5#6428A5

#6428A5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.187 H 300.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6428A5
RGBrgb(100, 40, 165)
HSLhsl(269, 61%, 40%)
HSVhsv(269, 76%, 65%)
CMYKcmyk(39.4%, 75.8%, 0%, 35.3%)
CIE-LABlab(31.68, 50.81, -56.42)
CIE-LCHlch(31.68, 75.93, 312.00°)
OKLaboklab(43.39% 0.0947 -0.1611)
OKLCHoklch(43.39% 0.187 300.5)
XYZxyz(12.8042, 6.9434, 36.2556)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A5 #69A528
analogous
#282AA5 #6428A5 #A328A5
triadic
#6428A5 #A56428 #28A564
tetradic
#6428A5 #A5282A #69A528 #28A5A3
square
#6428A5 #A5282A #69A528 #28A5A3
split-complementary
#6428A5 #A5A328 #2AA528
monochromatic
#281042 #461C74 #6428A5 #823BCF #A16CDB

Accessibility & contrast

On white

8.79
#6428A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6428A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A5#FFFFFF#000000##FFFFFF
##6428A51.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#554865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6428a5;
/* rgb */ color: rgb(100, 40, 165);
/* oklch */ color: oklch(43.4% 0.187 300.5);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6428a5',
    950: '#000000',
  },
}
SCSS
$custom: #6428a5;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a5",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 268.8,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.18691,
    "h": 300.5
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#6428A5
secondary
#96C267
accent
#E44497
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6428A5

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

Preview Lab → · Contrast checker → · Palette generator →

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