#6428B1#6428B1

#6428B1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.200 H 297.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6428B1
RGBrgb(100, 40, 177)
HSLhsl(266, 63%, 43%)
HSVhsv(266, 77%, 69%)
CMYKcmyk(43.5%, 77.4%, 0%, 30.6%)
CIE-LABlab(32.70, 53.81, -61.94)
CIE-LCHlch(32.70, 82.05, 310.98°)
OKLaboklab(44.43% 0.0916 -0.1773)
OKLCHoklch(44.43% 0.2 297.3)
XYZxyz(13.9481, 7.4010, 42.2801)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428B1 #75B128
analogous
#2831B1 #6428B1 #A828B1
triadic
#6428B1 #B16428 #28B164
tetradic
#6428B1 #B12831 #75B128 #28B1A8
square
#6428B1 #B12831 #75B128 #28B1A8
split-complementary
#6428B1 #B1A828 #31B128
monochromatic
#2C114D #481D7F #6428B1 #8242D4 #A374E0

Accessibility & contrast

On white

8.47
#6428B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6428B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428B1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428B1#FFFFFF#000000##FFFFFF
##6428B11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#504D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6428b1;
/* rgb */ color: rgb(100, 40, 177);
/* oklch */ color: oklch(44.4% 0.200 297.3);
Tailwind
colors: {
  custom: {
    50: '#9869c9',
    500: '#6428b1',
    950: '#000000',
  },
}
SCSS
$custom: #6428b1;
$custom-light: #9869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6428b1",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 266.277,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.19961,
    "h": 297.3
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#6428B1
secondary
#A0C76E
accent
#E6429E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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