#6427AA#6427AA

#6427AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.193 H 299.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6427AA
RGBrgb(100, 39, 170)
HSLhsl(268, 63%, 41%)
HSVhsv(268, 77%, 67%)
CMYKcmyk(41.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(31.95, 52.48, -58.99)
CIE-LCHlch(31.95, 78.95, 311.66°)
OKLaboklab(43.71% 0.0944 -0.1687)
OKLCHoklch(43.71% 0.193 299.2)
XYZxyz(13.2349, 7.0625, 38.6883)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427AA #6DAA27
analogous
#272BAA #6427AA #A527AA
triadic
#6427AA #AA6427 #27AA64
tetradic
#6427AA #AA272B #6DAA27 #27AAA5
square
#6427AA #AA272B #6DAA27 #27AAA5
split-complementary
#6427AA #AAA527 #2BAA27
monochromatic
#291046 #471C78 #6427AA #823CD2 #A26EDE

Accessibility & contrast

On white

8.70
#6427AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6427AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6427AA#FFFFFF#000000##FFFFFF
##6427AA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#534A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6427aa;
/* rgb */ color: rgb(100, 39, 170);
/* oklch */ color: oklch(43.7% 0.193 299.2);
Tailwind
colors: {
  custom: {
    50: '#9768c4',
    500: '#6427aa',
    950: '#000000',
  },
}
SCSS
$custom: #6427aa;
$custom-light: #9768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6427aa",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 267.939,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.19326,
    "h": 299.2
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#6427AA
secondary
#9AC469
accent
#E6429A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6427AA

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

Preview Lab → · Contrast checker → · Palette generator →

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