#6327A4#6327A4

#6327A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.187 H 300.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6327A4
RGBrgb(99, 39, 164)
HSLhsl(269, 62%, 40%)
HSVhsv(269, 76%, 64%)
CMYKcmyk(39.6%, 76.2%, 0%, 35.7%)
CIE-LABlab(31.31, 50.82, -56.42)
CIE-LCHlch(31.31, 75.94, 312.01°)
OKLaboklab(43.08% 0.0944 -0.1612)
OKLCHoklch(43.08% 0.187 300.4)
XYZxyz(12.5703, 6.7839, 35.7619)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6327A4 #68A427
analogous
#272AA4 #6327A4 #A127A4
triadic
#6327A4 #A46327 #27A463
tetradic
#6327A4 #A4272A #68A427 #27A4A1
square
#6327A4 #A4272A #68A427 #27A4A1
split-complementary
#6327A4 #A4A127 #2AA427
monochromatic
#270F41 #451B73 #6327A4 #8138D0 #A06ADC

Accessibility & contrast

On white

8.91
#6327A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6327A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6327A4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6327A4#FFFFFF#000000##FFFFFF
##6327A41.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#544764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6327a4;
/* rgb */ color: rgb(99, 39, 164);
/* oklch */ color: oklch(43.1% 0.187 300.4);
Tailwind
colors: {
  custom: {
    50: '#9668c0',
    500: '#6327a4',
    950: '#000000',
  },
}
SCSS
$custom: #6327a4;
$custom-light: #9668c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6327a4",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 268.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.18677,
    "h": 300.4
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#6327A4
secondary
#95C265
accent
#E54397
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6327A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6327A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva