#6420A9#6420A9

#6420A9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 300.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6420A9
RGBrgb(100, 32, 169)
HSLhsl(270, 68%, 39%)
HSVhsv(270, 81%, 66%)
CMYKcmyk(40.8%, 81.1%, 0%, 33.7%)
CIE-LABlab(30.89, 55.03, -60.11)
CIE-LCHlch(30.89, 81.50, 312.47°)
OKLaboklab(42.95% 0.1002 -0.1719)
OKLCHoklch(42.95% 0.199 300.2)
XYZxyz(12.9317, 6.6068, 38.1224)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6420A9 #65A920
analogous
#2021A9 #6420A9 #A920A9
triadic
#6420A9 #A96420 #20A964
tetradic
#6420A9 #A92021 #65A920 #20A9A9
square
#6420A9 #A92021 #65A920 #20A9A9
split-complementary
#6420A9 #A9A920 #21A920
monochromatic
#270D42 #461676 #6420A9 #822FD8 #A162E1

Accessibility & contrast

On white

9.05
#6420A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6420A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6420A9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6420A9#FFFFFF#000000##FFFFFF
##6420A91.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)
#0048AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#544665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6420a9;
/* rgb */ color: rgb(100, 32, 169);
/* oklch */ color: oklch(43.0% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#9765c4',
    500: '#6420a9',
    950: '#000000',
  },
}
SCSS
$custom: #6420a9;
$custom-light: #9765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6420a9",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 269.781,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.19899,
    "h": 300.2
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#6420A9
secondary
#93C65F
accent
#EB3D95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6420A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6420A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva