#6321BD#6321BD

#6321BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.8% C 0.218 H 294.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6321BD
RGBrgb(99, 33, 189)
HSLhsl(265, 70%, 44%)
HSVhsv(265, 83%, 74%)
CMYKcmyk(47.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(32.73, 59.38, -69.02)
CIE-LCHlch(32.73, 91.05, 310.71°)
OKLaboklab(44.75% 0.0914 -0.198)
OKLCHoklch(44.75% 0.218 294.8)
XYZxyz(14.8722, 7.4140, 48.7817)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6321BD #7BBD21
analogous
#212DBD #6321BD #B121BD
triadic
#6321BD #BD6321 #21BD63
tetradic
#6321BD #BD212D #7BBD21 #21BDB1
square
#6321BD #BD212D #7BBD21 #21BDB1
split-complementary
#6321BD #BDB121 #2DBD21
monochromatic
#2C0F55 #481889 #6321BD #813EDD #A372E6

Accessibility & contrast

On white

8.46
#6321BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6321BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6321BD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6321BD#FFFFFF#000000##FFFFFF
##6321BD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6321bd;
/* rgb */ color: rgb(99, 33, 189);
/* oklch */ color: oklch(44.8% 0.218 294.8);
Tailwind
colors: {
  custom: {
    50: '#9966d2',
    500: '#6321bd',
    950: '#000000',
  },
}
SCSS
$custom: #6321bd;
$custom-light: #9966d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6321bd",
  "rgb": {
    "r": 99,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 265.385,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.21812,
    "h": 294.8
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6321BD

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

Preview Lab → · Contrast checker → · Palette generator →

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