#6321AA#6321AA

#6321AA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 299.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6321AA
RGBrgb(99, 33, 170)
HSLhsl(269, 67%, 40%)
HSVhsv(269, 81%, 67%)
CMYKcmyk(41.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(30.98, 54.75, -60.58)
CIE-LCHlch(30.98, 81.65, 312.10°)
OKLaboklab(43.01% 0.0977 -0.1733)
OKLCHoklch(43.01% 0.199 299.4)
XYZxyz(12.9433, 6.6425, 38.6226)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6321AA #68AA21
analogous
#2124AA #6321AA #A821AA
triadic
#6321AA #AA6321 #21AA63
tetradic
#6321AA #AA2124 #68AA21 #21AAA8
square
#6321AA #AA2124 #68AA21 #21AAA8
split-complementary
#6321AA #AAA821 #24AA21
monochromatic
#270D43 #451777 #6321AA #8131D7 #A064E1

Accessibility & contrast

On white

9.02
#6321AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6321AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6321AA#FFFFFF#000000##FFFFFF
##6321AA1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#524766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6321aa;
/* rgb */ color: rgb(99, 33, 170);
/* oklch */ color: oklch(43.0% 0.199 299.4);
Tailwind
colors: {
  custom: {
    50: '#9765c4',
    500: '#6321aa',
    950: '#000000',
  },
}
SCSS
$custom: #6321aa;
$custom-light: #9765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6321aa",
  "rgb": {
    "r": 99,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 268.905,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.19895,
    "h": 299.4
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#6321AA
secondary
#95C661
accent
#EA3D97
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6321AA

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

Preview Lab → · Contrast checker → · Palette generator →

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