#6427A6#6427A6

#6427A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.189 H 300.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6427A6
RGBrgb(100, 39, 166)
HSLhsl(269, 62%, 40%)
HSVhsv(269, 77%, 65%)
CMYKcmyk(39.8%, 76.5%, 0%, 34.9%)
CIE-LABlab(31.61, 51.49, -57.14)
CIE-LCHlch(31.61, 76.91, 312.03°)
OKLaboklab(43.37% 0.0954 -0.1632)
OKLCHoklch(43.37% 0.189 300.3)
XYZxyz(12.8623, 6.9134, 36.7258)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427A6 #69A627
analogous
#2729A6 #6427A6 #A327A6
triadic
#6427A6 #A66427 #27A664
tetradic
#6427A6 #A62729 #69A627 #27A6A3
square
#6427A6 #A62729 #69A627 #27A6A3
split-complementary
#6427A6 #A6A327 #29A627
monochromatic
#281043 #461B74 #6427A6 #823AD1 #A16BDC

Accessibility & contrast

On white

8.81
#6427A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6427A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427A6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427A6#FFFFFF#000000##FFFFFF
##6427A61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#554865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6427a6;
/* rgb */ color: rgb(100, 39, 166);
/* oklch */ color: oklch(43.4% 0.189 300.3);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6427a6',
    950: '#000000',
  },
}
SCSS
$custom: #6427a6;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6427a6",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 268.819,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.18905,
    "h": 300.3
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#6427A6
secondary
#96C366
accent
#E54397
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6427A6

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

Preview Lab → · Contrast checker → · Palette generator →

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