#6427A8#6427A8

#6427A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.191 H 299.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6427A8
RGBrgb(100, 39, 168)
HSLhsl(268, 62%, 41%)
HSVhsv(268, 77%, 66%)
CMYKcmyk(40.5%, 76.8%, 0%, 34.1%)
CIE-LABlab(31.78, 51.99, -58.06)
CIE-LCHlch(31.78, 77.94, 311.84°)
OKLaboklab(43.54% 0.0949 -0.1659)
OKLCHoklch(43.54% 0.191 299.8)
XYZxyz(13.0472, 6.9874, 37.6995)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427A8 #6BA827
analogous
#272AA8 #6427A8 #A427A8
triadic
#6427A8 #A86427 #27A864
tetradic
#6427A8 #A8272A #6BA827 #27A8A4
square
#6427A8 #A8272A #6BA827 #27A8A4
split-complementary
#6427A8 #A8A427 #2AA827
monochromatic
#291045 #461B76 #6427A8 #823BD1 #A26CDD

Accessibility & contrast

On white

8.76
#6427A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6427A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427A8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427A8#FFFFFF#000000##FFFFFF
##6427A81.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#544966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6427a8;
/* rgb */ color: rgb(100, 39, 168);
/* oklch */ color: oklch(43.5% 0.191 299.8);
Tailwind
colors: {
  custom: {
    50: '#9768c3',
    500: '#6427a8',
    950: '#000000',
  },
}
SCSS
$custom: #6427a8;
$custom-light: #9768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6427a8",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 268.372,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.19115,
    "h": 299.8
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#6427A8
secondary
#98C367
accent
#E54298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6427A8

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

Preview Lab → · Contrast checker → · Palette generator →

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