#6326AD#6326AD

#6326AD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.197 H 298.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6326AD
RGBrgb(99, 38, 173)
HSLhsl(267, 64%, 41%)
HSVhsv(267, 78%, 68%)
CMYKcmyk(42.8%, 78%, 0%, 32.2%)
CIE-LABlab(31.93, 53.49, -60.81)
CIE-LCHlch(31.93, 80.99, 311.33°)
OKLaboklab(43.75% 0.0929 -0.174)
OKLCHoklch(43.75% 0.197 298.1)
XYZxyz(13.3796, 7.0558, 40.1840)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326AD #70AD26
analogous
#262DAD #6326AD #A726AD
triadic
#6326AD #AD6326 #26AD63
tetradic
#6326AD #AD262D #70AD26 #26ADA7
square
#6326AD #AD262D #70AD26 #26ADA7
split-complementary
#6326AD #ADA726 #2DAD26
monochromatic
#2A1049 #461B7B #6326AD #813CD4 #A16EDF

Accessibility & contrast

On white

8.71
#6326AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6326AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326AD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326AD#FFFFFF#000000##FFFFFF
##6326AD1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#504B69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6326ad;
/* rgb */ color: rgb(99, 38, 173);
/* oklch */ color: oklch(43.8% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#9768c6',
    500: '#6326ad',
    950: '#000000',
  },
}
SCSS
$custom: #6326ad;
$custom-light: #9768c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6326ad",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 267.111,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.19728,
    "h": 298.1
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#6326AD
secondary
#9CC669
accent
#E7419C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6326AD

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

Preview Lab → · Contrast checker → · Palette generator →

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