#6428AB#6428AB

#6428AB is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.193 H 298.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6428AB
RGBrgb(100, 40, 171)
HSLhsl(267, 62%, 41%)
HSVhsv(267, 77%, 67%)
CMYKcmyk(41.5%, 76.6%, 0%, 32.9%)
CIE-LABlab(32.18, 52.30, -59.20)
CIE-LCHlch(32.18, 79.00, 311.46°)
OKLaboklab(43.9% 0.0932 -0.1693)
OKLCHoklch(43.9% 0.193 298.8)
XYZxyz(13.3631, 7.1670, 39.1995)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428AB #6FAB28
analogous
#282EAB #6428AB #A628AB
triadic
#6428AB #AB6428 #28AB64
tetradic
#6428AB #AB282E #6FAB28 #28ABA6
square
#6428AB #AB282E #6FAB28 #28ABA6
split-complementary
#6428AB #ABA628 #2EAB28
monochromatic
#2A1148 #471C79 #6428AB #823ED2 #A270DE

Accessibility & contrast

On white

8.63
#6428AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6428AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428AB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428AB#FFFFFF#000000##FFFFFF
##6428AB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#534B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6428ab;
/* rgb */ color: rgb(100, 40, 171);
/* oklch */ color: oklch(43.9% 0.193 298.8);
Tailwind
colors: {
  custom: {
    50: '#9769c5',
    500: '#6428ab',
    950: '#000000',
  },
}
SCSS
$custom: #6428ab;
$custom-light: #9769c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6428ab",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 267.481,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.19327,
    "h": 298.8
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#6428AB
secondary
#9BC46A
accent
#E5439B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428AB

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

Preview Lab → · Contrast checker → · Palette generator →

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