#6428A7#6428A7

#6428A7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.189 H 299.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6428A7
RGBrgb(100, 40, 167)
HSLhsl(268, 61%, 41%)
HSVhsv(268, 76%, 65%)
CMYKcmyk(40.1%, 76%, 0%, 34.5%)
CIE-LABlab(31.85, 51.30, -57.35)
CIE-LCHlch(31.85, 76.95, 311.81°)
OKLaboklab(43.56% 0.0942 -0.1639)
OKLCHoklch(43.56% 0.189 299.9)
XYZxyz(12.9876, 7.0168, 37.2218)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A7 #6BA728
analogous
#282CA7 #6428A7 #A328A7
triadic
#6428A7 #A76428 #28A764
tetradic
#6428A7 #A7282C #6BA728 #28A7A3
square
#6428A7 #A7282C #6BA728 #28A7A3
split-complementary
#6428A7 #A7A328 #2CA728
monochromatic
#291044 #461C76 #6428A7 #823CD0 #A26DDC

Accessibility & contrast

On white

8.74
#6428A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6428A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A7#FFFFFF#000000##FFFFFF
##6428A71.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#544966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6428a7;
/* rgb */ color: rgb(100, 40, 167);
/* oklch */ color: oklch(43.6% 0.189 299.9);
Tailwind
colors: {
  custom: {
    50: '#9668c2',
    500: '#6428a7',
    950: '#000000',
  },
}
SCSS
$custom: #6428a7;
$custom-light: #9668c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a7",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 268.346,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.18904,
    "h": 299.9
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#6428A7
secondary
#98C368
accent
#E44398
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6428A7

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

Preview Lab → · Contrast checker → · Palette generator →

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