#6421BD#6421BD

#6421BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.218 H 295.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6421BD
RGBrgb(100, 33, 189)
HSLhsl(266, 70%, 44%)
HSVhsv(266, 83%, 74%)
CMYKcmyk(47.1%, 82.5%, 0%, 25.9%)
CIE-LABlab(32.86, 59.51, -68.81)
CIE-LCHlch(32.86, 90.97, 310.86°)
OKLaboklab(44.87% 0.0929 -0.1974)
OKLCHoklch(44.87% 0.218 295.2)
XYZxyz(14.9822, 7.4707, 48.7869)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6421BD #7ABD21
analogous
#212CBD #6421BD #B221BD
triadic
#6421BD #BD6421 #21BD64
tetradic
#6421BD #BD212C #7ABD21 #21BDB2
square
#6421BD #BD212C #7ABD21 #21BDB2
split-complementary
#6421BD #BDB221 #2CBD21
monochromatic
#2D0F55 #481889 #6421BD #823EDD #A472E6

Accessibility & contrast

On white

8.42
#6421BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6421BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6421BD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6421BD#FFFFFF#000000##FFFFFF
##6421BD1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#4A5071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6421bd;
/* rgb */ color: rgb(100, 33, 189);
/* oklch */ color: oklch(44.9% 0.218 295.2);
Tailwind
colors: {
  custom: {
    50: '#9966d2',
    500: '#6421bd',
    950: '#000000',
  },
}
SCSS
$custom: #6421bd;
$custom-light: #9966d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6421bd",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 265.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.21819,
    "h": 295.2
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#6421BD
secondary
#A4CD6D
accent
#ED3BA0
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6421BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6421BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva