#6428B2#6428B2

#6428B2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.201 H 297.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6428B2
RGBrgb(100, 40, 178)
HSLhsl(266, 63%, 43%)
HSVhsv(266, 78%, 70%)
CMYKcmyk(43.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(32.79, 54.06, -62.39)
CIE-LCHlch(32.79, 82.55, 310.91°)
OKLaboklab(44.52% 0.0914 -0.1787)
OKLCHoklch(44.52% 0.201 297.1)
XYZxyz(14.0481, 7.4410, 42.8070)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428B2 #76B228
analogous
#2831B2 #6428B2 #A928B2
triadic
#6428B2 #B26428 #28B264
tetradic
#6428B2 #B22831 #76B228 #28B2A9
square
#6428B2 #B22831 #76B228 #28B2A9
split-complementary
#6428B2 #B2A928 #31B228
monochromatic
#2C124E #481D80 #6428B2 #8243D5 #A375E0

Accessibility & contrast

On white

8.44
#6428B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6428B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428B2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428B2#FFFFFF#000000##FFFFFF
##6428B21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#4F4E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6428b2;
/* rgb */ color: rgb(100, 40, 178);
/* oklch */ color: oklch(44.5% 0.201 297.1);
Tailwind
colors: {
  custom: {
    50: '#9869ca',
    500: '#6428b2',
    950: '#000000',
  },
}
SCSS
$custom: #6428b2;
$custom-light: #9869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6428b2",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 266.087,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.20067,
    "h": 297.1
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#6428B2
secondary
#A1C76F
accent
#E6419F
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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