#6428AF#6428AF

#6428AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.198 H 297.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6428AF
RGBrgb(100, 40, 175)
HSLhsl(267, 63%, 42%)
HSVhsv(267, 77%, 69%)
CMYKcmyk(42.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(32.53, 53.30, -61.03)
CIE-LCHlch(32.53, 81.03, 311.13°)
OKLaboklab(44.25% 0.0922 -0.1747)
OKLCHoklch(44.25% 0.198 297.8)
XYZxyz(13.7502, 7.3218, 41.2379)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6428AF #73AF28
analogous
#282FAF #6428AF #A828AF
triadic
#6428AF #AF6428 #28AF64
tetradic
#6428AF #AF282F #73AF28 #28AFA8
square
#6428AF #AF282F #73AF28 #28AFA8
split-complementary
#6428AF #AFA828 #2FAF28
monochromatic
#2B114B #481D7D #6428AF #8241D4 #A373DF

Accessibility & contrast

On white

8.52
#6428AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6428AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6428AF#FFFFFF#000000##FFFFFF
##6428AF1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#514C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6428af;
/* rgb */ color: rgb(100, 40, 175);
/* oklch */ color: oklch(44.3% 0.198 297.8);
Tailwind
colors: {
  custom: {
    50: '#9769c8',
    500: '#6428af',
    950: '#000000',
  },
}
SCSS
$custom: #6428af;
$custom-light: #9769c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6428af",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 266.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.1975,
    "h": 297.8
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#6428AF
secondary
#9EC66D
accent
#E6429D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6428AF

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

Preview Lab → · Contrast checker → · Palette generator →

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