#6427A5#6427A5

#6427A5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.188 H 300.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6427A5
RGBrgb(100, 39, 165)
HSLhsl(269, 62%, 40%)
HSVhsv(269, 76%, 65%)
CMYKcmyk(39.4%, 76.4%, 0%, 35.3%)
CIE-LABlab(31.52, 51.24, -56.67)
CIE-LCHlch(31.52, 76.40, 312.12°)
OKLaboklab(43.28% 0.0956 -0.1618)
OKLCHoklch(43.28% 0.188 300.6)
XYZxyz(12.7709, 6.8769, 36.2446)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427A5 #68A527
analogous
#2729A5 #6427A5 #A327A5
triadic
#6427A5 #A56427 #27A564
tetradic
#6427A5 #A52729 #68A527 #27A5A3
square
#6427A5 #A52729 #68A527 #27A5A3
split-complementary
#6427A5 #A5A327 #29A527
monochromatic
#281042 #461B74 #6427A5 #8239D0 #A16ADC

Accessibility & contrast

On white

8.84
#6427A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6427A5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427A5#FFFFFF#000000##FFFFFF
##6427A51.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6427a5;
/* rgb */ color: rgb(100, 39, 165);
/* oklch */ color: oklch(43.3% 0.188 300.6);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6427a5',
    950: '#000000',
  },
}
SCSS
$custom: #6427a5;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6427a5",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 269.048,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.18799,
    "h": 300.6
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#6427A5
secondary
#95C266
accent
#E54396
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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