#6428B0#6428B0

#6428B0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.199 H 297.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6428B0
RGBrgb(100, 40, 176)
HSLhsl(266, 63%, 42%)
HSVhsv(266, 77%, 69%)
CMYKcmyk(43.2%, 77.3%, 0%, 31%)
CIE-LABlab(32.62, 53.55, -61.49)
CIE-LCHlch(32.62, 81.54, 311.06°)
OKLaboklab(44.34% 0.0919 -0.176)
OKLCHoklch(44.34% 0.199 297.6)
XYZxyz(13.8487, 7.3612, 41.7571)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428B0 #74B028
analogous
#2830B0 #6428B0 #A828B0
triadic
#6428B0 #B06428 #28B064
tetradic
#6428B0 #B02830 #74B028 #28B0A8
square
#6428B0 #B02830 #74B028 #28B0A8
split-complementary
#6428B0 #B0A828 #30B028
monochromatic
#2B114C #481D7E #6428B0 #8241D4 #A373DF

Accessibility & contrast

On white

8.49
#6428B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6428B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428B0
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428B0#FFFFFF#000000##FFFFFF
##6428B01.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#504D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6428b0;
/* rgb */ color: rgb(100, 40, 176);
/* oklch */ color: oklch(44.3% 0.199 297.6);
Tailwind
colors: {
  custom: {
    50: '#9769c9',
    500: '#6428b0',
    950: '#000000',
  },
}
SCSS
$custom: #6428b0;
$custom-light: #9769c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6428b0",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 266.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.19856,
    "h": 297.6
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#6428B0
secondary
#9FC66D
accent
#E6429E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428B0

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

Preview Lab → · Contrast checker → · Palette generator →

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