#6420AA#6420AA

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

Color values

HEX#6420AA
RGBrgb(100, 32, 170)
HSLhsl(270, 68%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(41.2%, 81.2%, 0%, 33.3%)
CIE-LABlab(30.98, 55.27, -60.57)
CIE-LCHlch(30.98, 81.99, 312.38°)
OKLaboklab(43.04% 0.0999 -0.1732)
OKLCHoklch(43.04% 0.2 300)
XYZxyz(13.0259, 6.6445, 38.6187)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6420AA #66AA20
analogous
#2021AA #6420AA #A920AA
triadic
#6420AA #AA6420 #20AA64
tetradic
#6420AA #AA2021 #66AA20 #20AAA9
square
#6420AA #AA2021 #66AA20 #20AAA9
split-complementary
#6420AA #AAA920 #21AA20
monochromatic
#270D43 #461676 #6420AA #822FD8 #A163E2

Accessibility & contrast

On white

9.02
#6420AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6420AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6420AA#FFFFFF#000000##FFFFFF
##6420AA1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#534766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6420aa;
/* rgb */ color: rgb(100, 32, 170);
/* oklch */ color: oklch(43.0% 0.200 300.0);
Tailwind
colors: {
  custom: {
    50: '#9765c4',
    500: '#6420aa',
    950: '#000000',
  },
}
SCSS
$custom: #6420aa;
$custom-light: #9765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6420aa",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 269.565,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.19999,
    "h": 300
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#6420AA
secondary
#94C75F
accent
#EB3D95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6420AA

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

Preview Lab → · Contrast checker → · Palette generator →

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