#6422A5#6422A5

#6422A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.193 H 301.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6422A5
RGBrgb(100, 34, 165)
HSLhsl(270, 66%, 39%)
HSVhsv(270, 79%, 65%)
CMYKcmyk(39.4%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.81, 53.31, -57.84)
CIE-LCHlch(30.81, 78.66, 312.66°)
OKLaboklab(42.78% 0.0999 -0.1653)
OKLCHoklch(42.78% 0.193 301.1)
XYZxyz(12.6174, 6.5699, 36.1934)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6422A5 #63A522
analogous
#2322A5 #6422A5 #A522A5
triadic
#6422A5 #A56422 #22A564
tetradic
#6422A5 #A52322 #63A522 #22A5A5
square
#6422A5 #A52322 #63A522 #22A5A5
split-complementary
#6422A5 #A5A522 #22A523
monochromatic
#260D40 #451872 #6422A5 #8330D4 #A163DF

Accessibility & contrast

On white

9.08
#6422A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6422A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6422A5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6422A5#FFFFFF#000000##FFFFFF
##6422A51.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#554663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6422a5;
/* rgb */ color: rgb(100, 34, 165);
/* oklch */ color: oklch(42.8% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#9765c1',
    500: '#6422a5',
    950: '#000000',
  },
}
SCSS
$custom: #6422a5;
$custom-light: #9765c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6422a5",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 270.229,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.19309,
    "h": 301.1
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#6422A5
secondary
#91C45F
accent
#E93F93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6422A5

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

Preview Lab → · Contrast checker → · Palette generator →

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