#6428A1#6428A1

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

Color values

HEX#6428A1
RGBrgb(100, 40, 161)
HSLhsl(270, 60%, 39%)
HSVhsv(270, 75%, 63%)
CMYKcmyk(37.9%, 75.2%, 0%, 36.9%)
CIE-LABlab(31.35, 49.82, -54.54)
CIE-LCHlch(31.35, 73.87, 312.41°)
OKLaboklab(43.06% 0.0957 -0.1556)
OKLCHoklch(43.06% 0.183 301.6)
XYZxyz(12.4458, 6.8001, 34.3682)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428A1 #65A128
analogous
#2829A1 #6428A1 #A128A1
triadic
#6428A1 #A16428 #28A164
tetradic
#6428A1 #A12829 #65A128 #28A1A1
square
#6428A1 #A12829 #65A128 #28A1A1
split-complementary
#6428A1 #A1A128 #29A128
monochromatic
#27103F #461C70 #6428A1 #8239CE #A16ADA

Accessibility & contrast

On white

8.90
#6428A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6428A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6428A1
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6428A1#FFFFFF#000000##FFFFFF
##6428A11.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#574763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6428a1;
/* rgb */ color: rgb(100, 40, 161);
/* oklch */ color: oklch(43.1% 0.183 301.6);
Tailwind
colors: {
  custom: {
    50: '#9668be',
    500: '#6428a1',
    950: '#000000',
  },
}
SCSS
$custom: #6428a1;
$custom-light: #9668be;
$custom-dark: #000000;
JSON
{
  "hex": "#6428a1",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 269.752,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.18266,
    "h": 301.6
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#6428A1
secondary
#93C065
accent
#E34495
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6428A1

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

Preview Lab → · Contrast checker → · Palette generator →

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