#6426A1#6426A1

#6426A1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.185 H 301.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6426A1
RGBrgb(100, 38, 161)
HSLhsl(270, 62%, 39%)
HSVhsv(270, 76%, 63%)
CMYKcmyk(37.9%, 76.4%, 0%, 36.9%)
CIE-LABlab(31.04, 50.69, -55.04)
CIE-LCHlch(31.04, 74.83, 312.65°)
OKLaboklab(42.84% 0.0975 -0.1571)
OKLCHoklch(42.84% 0.185 301.8)
XYZxyz(12.3801, 6.6687, 34.3463)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6426A1 #63A126
analogous
#2726A1 #6426A1 #A126A1
triadic
#6426A1 #A16426 #26A164
tetradic
#6426A1 #A12726 #63A126 #26A1A1
square
#6426A1 #A12726 #63A126 #26A1A1
split-complementary
#6426A1 #A1A126 #26A127
monochromatic
#260F3E #451A6F #6426A1 #8335CF #A166DB

Accessibility & contrast

On white

9.00
#6426A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6426A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6426A1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6426A1#FFFFFF#000000##FFFFFF
##6426A11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#574662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6426a1;
/* rgb */ color: rgb(100, 38, 161);
/* oklch */ color: oklch(42.8% 0.185 301.8);
Tailwind
colors: {
  custom: {
    50: '#9667be',
    500: '#6426a1',
    950: '#000000',
  },
}
SCSS
$custom: #6426a1;
$custom-light: #9667be;
$custom-dark: #000000;
JSON
{
  "hex": "#6426a1",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 270.244,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.18486,
    "h": 301.8
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#6426A1
secondary
#91C162
accent
#E54393
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6426A1

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

Preview Lab → · Contrast checker → · Palette generator →

#6426A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva