#6428A2#6428A2

#6428A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.184 H 301.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6428A2
RGBrgb(100, 40, 162)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 64%)
CMYKcmyk(38.3%, 75.3%, 0%, 36.5%)
CIE-LABlab(31.43, 50.06, -55.01)
CIE-LCHlch(31.43, 74.38, 312.30°)
OKLaboklab(43.14% 0.0954 -0.157)
OKLCHoklch(43.14% 0.184 301.3)
XYZxyz(12.5343, 6.8355, 34.8344)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A2 #66A228
analogous
#2829A2 #6428A2 #A128A2
triadic
#6428A2 #A26428 #28A264
tetradic
#6428A2 #A22829 #66A228 #28A2A1
square
#6428A2 #A22829 #66A228 #28A2A1
split-complementary
#6428A2 #A2A128 #29A228
monochromatic
#271040 #461C71 #6428A2 #8239CE #A16ADA

Accessibility & contrast

On white

8.87
#6428A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6428A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A2#FFFFFF#000000##FFFFFF
##6428A21.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#564763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6428a2;
/* rgb */ color: rgb(100, 40, 162);
/* oklch */ color: oklch(43.1% 0.184 301.3);
Tailwind
colors: {
  custom: {
    50: '#9668be',
    500: '#6428a2',
    950: '#000000',
  },
}
SCSS
$custom: #6428a2;
$custom-light: #9668be;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a2",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 269.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.18372,
    "h": 301.3
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#6428A2
secondary
#94C165
accent
#E44495
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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