#6427AC#6427AC

#6427AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.195 H 298.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6427AC
RGBrgb(100, 39, 172)
HSLhsl(268, 63%, 41%)
HSVhsv(268, 77%, 67%)
CMYKcmyk(41.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(32.12, 52.98, -59.90)
CIE-LCHlch(32.12, 79.97, 311.49°)
OKLaboklab(43.89% 0.0938 -0.1713)
OKLCHoklch(43.89% 0.195 298.7)
XYZxyz(13.4255, 7.1387, 39.6923)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427AC #6FAC27
analogous
#272DAC #6427AC #A727AC
triadic
#6427AC #AC6427 #27AC64
tetradic
#6427AC #AC272D #6FAC27 #27ACA7
square
#6427AC #AC272D #6FAC27 #27ACA7
split-complementary
#6427AC #ACA727 #2DAC27
monochromatic
#2A1048 #471C7A #6427AC #823DD3 #A26FDE

Accessibility & contrast

On white

8.65
#6427AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6427AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427AC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427AC#FFFFFF#000000##FFFFFF
##6427AC1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#524B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6427ac;
/* rgb */ color: rgb(100, 39, 172);
/* oklch */ color: oklch(43.9% 0.195 298.7);
Tailwind
colors: {
  custom: {
    50: '#9768c6',
    500: '#6427ac',
    950: '#000000',
  },
}
SCSS
$custom: #6427ac;
$custom-light: #9768c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6427ac",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 267.519,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.19535,
    "h": 298.7
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#6427AC
secondary
#9BC56A
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6427AC

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

Preview Lab → · Contrast checker → · Palette generator →

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