#6420A0#6420A0

#6420A0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.190 H 302.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6420A0
RGBrgb(100, 32, 160)
HSLhsl(272, 67%, 38%)
HSVhsv(272, 80%, 63%)
CMYKcmyk(37.5%, 80%, 0%, 37.3%)
CIE-LABlab(30.11, 52.89, -55.95)
CIE-LCHlch(30.11, 77.00, 313.39°)
OKLaboklab(42.16% 0.1029 -0.1597)
OKLCHoklch(42.16% 0.19 302.8)
XYZxyz(12.1157, 6.2804, 33.8248)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6420A0 #5CA020
analogous
#2420A0 #6420A0 #A0209C
triadic
#6420A0 #A06420 #20A064
tetradic
#6420A0 #A02420 #5CA020 #209CA0
square
#6420A0 #A02420 #5CA020 #209CA0
split-complementary
#6420A0 #9CA020 #20A024
monochromatic
#240C3A #44166D #6420A0 #842AD3 #A15CDE

Accessibility & contrast

On white

9.31
#6420A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6420A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6420A0#FFFFFF#000000##FFFFFF
##6420A01.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#574360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6420a0;
/* rgb */ color: rgb(100, 32, 160);
/* oklch */ color: oklch(42.2% 0.190 302.8);
Tailwind
colors: {
  custom: {
    50: '#9664bd',
    500: '#6420a0',
    950: '#000000',
  },
}
SCSS
$custom: #6420a0;
$custom-light: #9664bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6420a0",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 271.875,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.18998,
    "h": 302.8
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#6420A0
secondary
#8BC359
accent
#EA3E8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6420A0

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

Preview Lab → · Contrast checker → · Palette generator →

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