#6422A6#6422A6

#6422A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.194 H 300.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6422A6
RGBrgb(100, 34, 166)
HSLhsl(270, 66%, 39%)
HSVhsv(270, 80%, 65%)
CMYKcmyk(39.8%, 79.5%, 0%, 34.9%)
CIE-LABlab(30.89, 53.55, -58.30)
CIE-LCHlch(30.89, 79.16, 312.57°)
OKLaboklab(42.87% 0.0996 -0.1666)
OKLCHoklch(42.87% 0.194 300.9)
XYZxyz(12.7088, 6.6065, 36.6746)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6422A6 #64A622
analogous
#2222A6 #6422A6 #A622A6
triadic
#6422A6 #A66422 #22A664
tetradic
#6422A6 #A62222 #64A622 #22A6A6
square
#6422A6 #A62222 #64A622 #22A6A6
split-complementary
#6422A6 #A6A622 #22A622
monochromatic
#270D40 #451873 #6422A6 #8330D5 #A163DF

Accessibility & contrast

On white

9.05
#6422A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6422A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6422A6
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6422A6#FFFFFF#000000##FFFFFF
##6422A61.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#554664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6422a6;
/* rgb */ color: rgb(100, 34, 166);
/* oklch */ color: oklch(42.9% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#9765c1',
    500: '#6422a6',
    950: '#000000',
  },
}
SCSS
$custom: #6422a6;
$custom-light: #9765c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6422a6",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.19411,
    "h": 300.9
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#6422A6
secondary
#92C45F
accent
#E93F94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6422A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6422A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva