#6327A6#6327A6

#6327A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.189 H 299.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6327A6
RGBrgb(99, 39, 166)
HSLhsl(268, 62%, 40%)
HSVhsv(268, 77%, 65%)
CMYKcmyk(40.4%, 76.5%, 0%, 34.9%)
CIE-LABlab(31.48, 51.32, -57.35)
CIE-LCHlch(31.48, 76.96, 311.82°)
OKLaboklab(43.25% 0.0939 -0.1639)
OKLCHoklch(43.25% 0.189 299.8)
XYZxyz(12.7523, 6.8567, 36.7206)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6327A6 #6AA627
analogous
#272BA6 #6327A6 #A227A6
triadic
#6327A6 #A66327 #27A663
tetradic
#6327A6 #A6272B #6AA627 #27A6A2
square
#6327A6 #A6272B #6AA627 #27A6A2
split-complementary
#6327A6 #A6A227 #2BA627
monochromatic
#281043 #451B74 #6327A6 #813AD1 #A16BDC

Accessibility & contrast

On white

8.86
#6327A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6327A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6327A6
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6327A6#FFFFFF#000000##FFFFFF
##6327A61.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#534865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6327a6;
/* rgb */ color: rgb(99, 39, 166);
/* oklch */ color: oklch(43.2% 0.189 299.8);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6327a6',
    950: '#000000',
  },
}
SCSS
$custom: #6327a6;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6327a6",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 268.346,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.18889,
    "h": 299.8
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#6327A6
secondary
#97C366
accent
#E54398
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6327A6

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

Preview Lab → · Contrast checker → · Palette generator →

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