#6327AC#6327AC

#6327AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.195 H 298.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6327AC
RGBrgb(99, 39, 172)
HSLhsl(267, 63%, 41%)
HSVhsv(267, 77%, 67%)
CMYKcmyk(42.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(31.99, 52.82, -60.12)
CIE-LCHlch(31.99, 80.02, 311.30°)
OKLaboklab(43.77% 0.0923 -0.172)
OKLCHoklch(43.77% 0.195 298.2)
XYZxyz(13.3156, 7.0820, 39.6871)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6327AC #70AC27
analogous
#272DAC #6327AC #A627AC
triadic
#6327AC #AC6327 #27AC63
tetradic
#6327AC #AC272D #70AC27 #27ACA6
square
#6327AC #AC272D #70AC27 #27ACA6
split-complementary
#6327AC #ACA627 #2DAC27
monochromatic
#2A1048 #461C7A #6327AC #813DD3 #A16FDE

Accessibility & contrast

On white

8.69
#6327AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6327AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6327AC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6327AC#FFFFFF#000000##FFFFFF
##6327AC1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#514B69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6327ac;
/* rgb */ color: rgb(99, 39, 172);
/* oklch */ color: oklch(43.8% 0.195 298.2);
Tailwind
colors: {
  custom: {
    50: '#9668c6',
    500: '#6327ac',
    950: '#000000',
  },
}
SCSS
$custom: #6327ac;
$custom-light: #9668c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6327ac",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 267.068,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19523,
    "h": 298.2
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#6327AC
secondary
#9CC56A
accent
#E6429C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6327AC

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

Preview Lab → · Contrast checker → · Palette generator →

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