#6420B3#6420B3

#6420B3 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.209 H 297.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6420B3
RGBrgb(100, 32, 179)
HSLhsl(268, 70%, 41%)
HSVhsv(268, 82%, 70%)
CMYKcmyk(44.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(31.80, 57.44, -64.61)
CIE-LCHlch(31.80, 86.45, 311.63°)
OKLaboklab(43.85% 0.097 -0.1851)
OKLCHoklch(43.85% 0.209 297.7)
XYZxyz(13.9066, 6.9968, 43.2569)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6420B3 #6FB320
analogous
#2026B3 #6420B3 #AE20B3
triadic
#6420B3 #B36420 #20B364
tetradic
#6420B3 #B32026 #6FB320 #20B3AE
square
#6420B3 #B32026 #6FB320 #20B3AE
split-complementary
#6420B3 #B3AE20 #26B320
monochromatic
#2A0D4B #47177F #6420B3 #8235DB #A269E4

Accessibility & contrast

On white

8.75
#6420B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6420B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6420B3#FFFFFF#000000##FFFFFF
##6420B31.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#4F4B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6420b3;
/* rgb */ color: rgb(100, 32, 179);
/* oklch */ color: oklch(43.9% 0.209 297.7);
Tailwind
colors: {
  custom: {
    50: '#9865cb',
    500: '#6420b3',
    950: '#000000',
  },
}
SCSS
$custom: #6420b3;
$custom-light: #9865cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6420b3",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 267.755,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.20898,
    "h": 297.7
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#6420B3
secondary
#9BCA65
accent
#EC3B9B
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6420B3

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

Preview Lab → · Contrast checker → · Palette generator →

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