#6326A4#6326A4

#6326A4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.188 H 300.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6326A4
RGBrgb(99, 38, 164)
HSLhsl(269, 62%, 40%)
HSVhsv(269, 77%, 64%)
CMYKcmyk(39.6%, 76.8%, 0%, 35.7%)
CIE-LABlab(31.16, 51.26, -56.67)
CIE-LCHlch(31.16, 76.41, 312.13°)
OKLaboklab(42.97% 0.0953 -0.1619)
OKLCHoklch(42.97% 0.188 300.5)
XYZxyz(12.5379, 6.7191, 35.7511)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326A4 #67A426
analogous
#2628A4 #6326A4 #A226A4
triadic
#6326A4 #A46326 #26A463
tetradic
#6326A4 #A42628 #67A426 #26A4A2
square
#6326A4 #A42628 #67A426 #26A4A2
split-complementary
#6326A4 #A4A226 #28A426
monochromatic
#270F41 #451A72 #6326A4 #8137D1 #A068DC

Accessibility & contrast

On white

8.96
#6326A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6326A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326A4
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326A4#FFFFFF#000000##FFFFFF
##6326A41.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6326a4;
/* rgb */ color: rgb(99, 38, 164);
/* oklch */ color: oklch(43.0% 0.188 300.5);
Tailwind
colors: {
  custom: {
    50: '#9667c0',
    500: '#6326a4',
    950: '#000000',
  },
}
SCSS
$custom: #6326a4;
$custom-light: #9667c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6326a4",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 269.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.18784,
    "h": 300.5
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#6326A4
secondary
#94C264
accent
#E54296
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6326A4

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

Preview Lab → · Contrast checker → · Palette generator →

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