#6327AA#6327AA

#6327AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.193 H 298.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6327AA
RGBrgb(99, 39, 170)
HSLhsl(267, 63%, 41%)
HSVhsv(267, 77%, 67%)
CMYKcmyk(41.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(31.82, 52.32, -59.20)
CIE-LCHlch(31.82, 79.01, 311.47°)
OKLaboklab(43.59% 0.0929 -0.1693)
OKLCHoklch(43.59% 0.193 298.7)
XYZxyz(13.1250, 7.0058, 38.6832)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6327AA #6EAA27
analogous
#272CAA #6327AA #A427AA
triadic
#6327AA #AA6327 #27AA63
tetradic
#6327AA #AA272C #6EAA27 #27AAA4
square
#6327AA #AA272C #6EAA27 #27AAA4
split-complementary
#6327AA #AAA427 #2CAA27
monochromatic
#291046 #461C78 #6327AA #813CD2 #A16EDE

Accessibility & contrast

On white

8.75
#6327AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6327AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6327AA#FFFFFF#000000##FFFFFF
##6327AA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#514A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6327aa;
/* rgb */ color: rgb(99, 39, 170);
/* oklch */ color: oklch(43.6% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#9668c4',
    500: '#6327aa',
    950: '#000000',
  },
}
SCSS
$custom: #6327aa;
$custom-light: #9668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6327aa",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 267.481,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43593,
    "c": 0.19312,
    "h": 298.7
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#6327AA
secondary
#9AC469
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6327AA

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

Preview Lab → · Contrast checker → · Palette generator →

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