#6428A4#6428A4

#6428A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.186 H 300.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6428A4
RGBrgb(100, 40, 164)
HSLhsl(269, 61%, 40%)
HSVhsv(269, 76%, 64%)
CMYKcmyk(39%, 75.6%, 0%, 35.7%)
CIE-LABlab(31.59, 50.56, -55.95)
CIE-LCHlch(31.59, 75.41, 312.10°)
OKLaboklab(43.31% 0.095 -0.1597)
OKLCHoklch(43.31% 0.186 300.7)
XYZxyz(12.7135, 6.9071, 35.7782)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A4 #68A428
analogous
#282AA4 #6428A4 #A228A4
triadic
#6428A4 #A46428 #28A464
tetradic
#6428A4 #A4282A #68A428 #28A4A2
square
#6428A4 #A4282A #68A428 #28A4A2
split-complementary
#6428A4 #A4A228 #2AA428
monochromatic
#281042 #461C73 #6428A4 #823ACF #A16BDB

Accessibility & contrast

On white

8.82
#6428A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6428A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A4#FFFFFF#000000##FFFFFF
##6428A41.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#564864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6428a4;
/* rgb */ color: rgb(100, 40, 164);
/* oklch */ color: oklch(43.3% 0.186 300.7);
Tailwind
colors: {
  custom: {
    50: '#9668c0',
    500: '#6428a4',
    950: '#000000',
  },
}
SCSS
$custom: #6428a4;
$custom-light: #9668c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a4",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 269.032,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.18585,
    "h": 300.7
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#6428A4
secondary
#95C166
accent
#E44496
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6428A4

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

Preview Lab → · Contrast checker → · Palette generator →

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