#6426A2#6426A2

#6426A2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.186 H 301.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6426A2
RGBrgb(100, 38, 162)
HSLhsl(270, 62%, 39%)
HSVhsv(270, 77%, 64%)
CMYKcmyk(38.3%, 76.5%, 0%, 36.5%)
CIE-LABlab(31.12, 50.94, -55.51)
CIE-LCHlch(31.12, 75.34, 312.54°)
OKLaboklab(42.92% 0.0973 -0.1584)
OKLCHoklch(42.92% 0.186 301.5)
XYZxyz(12.4686, 6.7041, 34.8125)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6426A2 #64A226
analogous
#2626A2 #6426A2 #A226A2
triadic
#6426A2 #A26426 #26A264
tetradic
#6426A2 #A22626 #64A226 #26A2A2
square
#6426A2 #A22626 #64A226 #26A2A2
split-complementary
#6426A2 #A2A226 #26A226
monochromatic
#270F3F #451A70 #6426A2 #8335D0 #A167DB

Accessibility & contrast

On white

8.97
#6426A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6426A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6426A2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6426A2#FFFFFF#000000##FFFFFF
##6426A21.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#564663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6426a2;
/* rgb */ color: rgb(100, 38, 162);
/* oklch */ color: oklch(42.9% 0.186 301.5);
Tailwind
colors: {
  custom: {
    50: '#9667be',
    500: '#6426a2',
    950: '#000000',
  },
}
SCSS
$custom: #6426a2;
$custom-light: #9667be;
$custom-dark: #000000;
JSON
{
  "hex": "#6426a2",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.18591,
    "h": 301.5
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#6426A2
secondary
#92C163
accent
#E54394
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6426A2

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

Preview Lab → · Contrast checker → · Palette generator →

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