#6428AA#6428AA

#6428AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.192 H 299.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6428AA
RGBrgb(100, 40, 170)
HSLhsl(268, 62%, 41%)
HSVhsv(268, 76%, 67%)
CMYKcmyk(41.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(32.10, 52.05, -58.74)
CIE-LCHlch(32.10, 78.49, 311.55°)
OKLaboklab(43.82% 0.0935 -0.1679)
OKLCHoklch(43.82% 0.192 299.1)
XYZxyz(13.2682, 7.1290, 38.6994)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428AA #6EAA28
analogous
#282DAA #6428AA #A528AA
triadic
#6428AA #AA6428 #28AA64
tetradic
#6428AA #AA282D #6EAA28 #28AAA5
square
#6428AA #AA282D #6EAA28 #28AAA5
split-complementary
#6428AA #AAA528 #2DAA28
monochromatic
#2A1147 #471C78 #6428AA #823ED2 #A26FDD

Accessibility & contrast

On white

8.66
#6428AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6428AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6428AA#FFFFFF#000000##FFFFFF
##6428AA1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#534A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6428aa;
/* rgb */ color: rgb(100, 40, 170);
/* oklch */ color: oklch(43.8% 0.192 299.1);
Tailwind
colors: {
  custom: {
    50: '#9769c4',
    500: '#6428aa',
    950: '#000000',
  },
}
SCSS
$custom: #6428aa;
$custom-light: #9769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6428aa",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 267.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.19222,
    "h": 299.1
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#6428AA
secondary
#9AC46A
accent
#E5439A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428AA

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

Preview Lab → · Contrast checker → · Palette generator →

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