#6428AE#6428AE

#6428AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.196 H 298.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6428AE
RGBrgb(100, 40, 174)
HSLhsl(267, 63%, 42%)
HSVhsv(267, 77%, 68%)
CMYKcmyk(42.5%, 77%, 0%, 31.8%)
CIE-LABlab(32.44, 53.05, -60.58)
CIE-LCHlch(32.44, 80.52, 311.21°)
OKLaboklab(44.16% 0.0924 -0.1733)
OKLCHoklch(44.16% 0.196 298.1)
XYZxyz(13.6523, 7.2827, 40.7226)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428AE #72AE28
analogous
#282FAE #6428AE #A728AE
triadic
#6428AE #AE6428 #28AE64
tetradic
#6428AE #AE282F #72AE28 #28AEA7
square
#6428AE #AE282F #72AE28 #28AEA7
split-complementary
#6428AE #AEA728 #2FAE28
monochromatic
#2B114A #471D7C #6428AE #8240D3 #A372DF

Accessibility & contrast

On white

8.55
#6428AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6428AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428AE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428AE#FFFFFF#000000##FFFFFF
##6428AE1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#514C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6428ae;
/* rgb */ color: rgb(100, 40, 174);
/* oklch */ color: oklch(44.2% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#9769c7',
    500: '#6428ae',
    950: '#000000',
  },
}
SCSS
$custom: #6428ae;
$custom-light: #9769c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6428ae",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 266.866,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.19644,
    "h": 298.1
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#6428AE
secondary
#9EC66C
accent
#E6429C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428AE

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

Preview Lab → · Contrast checker → · Palette generator →

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