#6320A6#6320A6

#6320A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.196 H 300.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6320A6
RGBrgb(99, 32, 166)
HSLhsl(270, 68%, 39%)
HSVhsv(270, 81%, 65%)
CMYKcmyk(40.4%, 80.7%, 0%, 34.9%)
CIE-LABlab(30.49, 54.16, -58.96)
CIE-LCHlch(30.49, 80.06, 312.57°)
OKLaboklab(42.56% 0.0997 -0.1686)
OKLCHoklch(42.56% 0.196 300.6)
XYZxyz(12.5433, 6.4387, 36.6510)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6320A6 #63A620
analogous
#2020A6 #6320A6 #A620A6
triadic
#6320A6 #A66320 #20A663
tetradic
#6320A6 #A62020 #63A620 #20A6A6
square
#6320A6 #A62020 #63A620 #20A6A6
split-complementary
#6320A6 #A6A620 #20A620
monochromatic
#260C3F #441673 #6320A6 #822DD6 #A060E0

Accessibility & contrast

On white

9.18
#6320A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6320A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6320A6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6320A6#FFFFFF#000000##FFFFFF
##6320A61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#534564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6320a6;
/* rgb */ color: rgb(99, 32, 166);
/* oklch */ color: oklch(42.6% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#9664c1',
    500: '#6320a6',
    950: '#000000',
  },
}
SCSS
$custom: #6320a6;
$custom-light: #9664c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6320a6",
  "rgb": {
    "r": 99,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.19582,
    "h": 300.6
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#6320A6
secondary
#91C55D
accent
#EB3D94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6320A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6320A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva