#6326AE#6326AE

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

Color values

HEX#6326AE
RGBrgb(99, 38, 174)
HSLhsl(267, 64%, 42%)
HSVhsv(267, 78%, 68%)
CMYKcmyk(43.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.02, 53.74, -61.27)
CIE-LCHlch(32.02, 81.50, 311.25°)
OKLaboklab(43.84% 0.0926 -0.1754)
OKLCHoklch(43.84% 0.198 297.8)
XYZxyz(13.4767, 7.0946, 40.6956)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326AE #71AE26
analogous
#262DAE #6326AE #A726AE
triadic
#6326AE #AE6326 #26AE63
tetradic
#6326AE #AE262D #71AE26 #26AEA7
square
#6326AE #AE262D #71AE26 #26AEA7
split-complementary
#6326AE #AEA726 #2DAE26
monochromatic
#2A104A #461B7C #6326AE #813DD5 #A16FE0

Accessibility & contrast

On white

8.68
#6326AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6326AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326AE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326AE#FFFFFF#000000##FFFFFF
##6326AE1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6326ae;
/* rgb */ color: rgb(99, 38, 174);
/* oklch */ color: oklch(43.8% 0.198 297.8);
Tailwind
colors: {
  custom: {
    50: '#9768c7',
    500: '#6326ae',
    950: '#000000',
  },
}
SCSS
$custom: #6326ae;
$custom-light: #9768c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6326ae",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 266.912,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.19833,
    "h": 297.8
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6326AE

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

Preview Lab → · Contrast checker → · Palette generator →

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