#6420B1#6420B1

#6420B1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.207 H 298.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6420B1
RGBrgb(100, 32, 177)
HSLhsl(268, 69%, 41%)
HSVhsv(268, 82%, 69%)
CMYKcmyk(43.5%, 81.9%, 0%, 30.6%)
CIE-LABlab(31.62, 56.95, -63.72)
CIE-LCHlch(31.62, 85.47, 311.79°)
OKLaboklab(43.67% 0.0977 -0.1825)
OKLCHoklch(43.67% 0.207 298.2)
XYZxyz(13.7058, 6.9164, 42.1993)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6420B1 #6DB120
analogous
#2024B1 #6420B1 #AC20B1
triadic
#6420B1 #B16420 #20B164
tetradic
#6420B1 #B12024 #6DB120 #20B1AC
square
#6420B1 #B12024 #6DB120 #20B1AC
split-complementary
#6420B1 #B1AC20 #24B120
monochromatic
#290D49 #47177D #6420B1 #8234DA #A268E4

Accessibility & contrast

On white

8.81
#6420B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6420B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6420B1#FFFFFF#000000##FFFFFF
##6420B11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#504A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6420b1;
/* rgb */ color: rgb(100, 32, 177);
/* oklch */ color: oklch(43.7% 0.207 298.2);
Tailwind
colors: {
  custom: {
    50: '#9865c9',
    500: '#6420b1',
    950: '#000000',
  },
}
SCSS
$custom: #6420b1;
$custom-light: #9865c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6420b1",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 268.138,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.20699,
    "h": 298.2
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#6420B1
secondary
#9AC964
accent
#EC3C99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6420B1

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

Preview Lab → · Contrast checker → · Palette generator →

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