#6427A4#6427A4

#6427A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.187 H 300.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6427A4
RGBrgb(100, 39, 164)
HSLhsl(269, 62%, 40%)
HSVhsv(269, 76%, 64%)
CMYKcmyk(39%, 76.2%, 0%, 35.7%)
CIE-LABlab(31.44, 51.00, -56.20)
CIE-LCHlch(31.44, 75.89, 312.22°)
OKLaboklab(43.2% 0.0959 -0.1605)
OKLCHoklch(43.2% 0.187 300.9)
XYZxyz(12.6802, 6.8406, 35.7671)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427A4 #67A427
analogous
#2729A4 #6427A4 #A227A4
triadic
#6427A4 #A46427 #27A464
tetradic
#6427A4 #A42729 #67A427 #27A4A2
square
#6427A4 #A42729 #67A427 #27A4A2
split-complementary
#6427A4 #A4A227 #29A427
monochromatic
#280F41 #461B73 #6427A4 #8238D0 #A16ADC

Accessibility & contrast

On white

8.87
#6427A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6427A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427A4
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427A4#FFFFFF#000000##FFFFFF
##6427A41.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)
#0049A8
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#564764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6427a4;
/* rgb */ color: rgb(100, 39, 164);
/* oklch */ color: oklch(43.2% 0.187 300.9);
Tailwind
colors: {
  custom: {
    50: '#9668c0',
    500: '#6427a4',
    950: '#000000',
  },
}
SCSS
$custom: #6427a4;
$custom-light: #9668c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6427a4",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 269.28,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.18694,
    "h": 300.9
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#6427A4
secondary
#95C265
accent
#E54396
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6427A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6427A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva