#6326A7#6326A7

#6326A7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.191 H 299.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6326A7
RGBrgb(99, 38, 167)
HSLhsl(268, 63%, 40%)
HSVhsv(268, 77%, 65%)
CMYKcmyk(40.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(31.41, 52.00, -58.06)
CIE-LCHlch(31.41, 77.94, 311.85°)
OKLaboklab(43.23% 0.0945 -0.166)
OKLCHoklch(43.23% 0.191 299.7)
XYZxyz(12.8120, 6.8287, 37.1948)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326A7 #6AA726
analogous
#2629A7 #6326A7 #A326A7
triadic
#6326A7 #A76326 #26A763
tetradic
#6326A7 #A72629 #6AA726 #26A7A3
square
#6326A7 #A72629 #6AA726 #26A7A3
split-complementary
#6326A7 #A7A326 #29A726
monochromatic
#280F43 #451B75 #6326A7 #8138D2 #A16ADD

Accessibility & contrast

On white

8.88
#6326A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6326A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326A7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326A7#FFFFFF#000000##FFFFFF
##6326A71.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6326a7;
/* rgb */ color: rgb(99, 38, 167);
/* oklch */ color: oklch(43.2% 0.191 299.7);
Tailwind
colors: {
  custom: {
    50: '#9667c2',
    500: '#6326a7',
    950: '#000000',
  },
}
SCSS
$custom: #6326a7;
$custom-light: #9667c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6326a7",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 268.372,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.19099,
    "h": 299.7
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#6326A7
secondary
#97C365
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6326A7

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

Preview Lab → · Contrast checker → · Palette generator →

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