#6428A8#6428A8

#6428A8 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.190 H 299.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6428A8
RGBrgb(100, 40, 168)
HSLhsl(268, 62%, 41%)
HSVhsv(268, 76%, 66%)
CMYKcmyk(40.5%, 76.2%, 0%, 34.1%)
CIE-LABlab(31.93, 51.55, -57.82)
CIE-LCHlch(31.93, 77.46, 311.72°)
OKLaboklab(43.65% 0.094 -0.1652)
OKLCHoklch(43.65% 0.19 299.6)
XYZxyz(13.0804, 7.0539, 37.7106)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A8 #6CA828
analogous
#282CA8 #6428A8 #A428A8
triadic
#6428A8 #A86428 #28A864
tetradic
#6428A8 #A8282C #6CA828 #28A8A4
square
#6428A8 #A8282C #6CA828 #28A8A4
split-complementary
#6428A8 #A8A428 #2CA828
monochromatic
#291045 #471C77 #6428A8 #823DD1 #A26EDC

Accessibility & contrast

On white

8.71
#6428A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6428A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A8#FFFFFF#000000##FFFFFF
##6428A81.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#544A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6428a8;
/* rgb */ color: rgb(100, 40, 168);
/* oklch */ color: oklch(43.6% 0.190 299.6);
Tailwind
colors: {
  custom: {
    50: '#9768c3',
    500: '#6428a8',
    950: '#000000',
  },
}
SCSS
$custom: #6428a8;
$custom-light: #9768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a8",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 268.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.19009,
    "h": 299.6
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#6428A8
secondary
#99C369
accent
#E54399
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428A8

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

Preview Lab → · Contrast checker → · Palette generator →

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