#6326A8#6326A8

#6326A8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.192 H 299.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6326A8
RGBrgb(99, 38, 168)
HSLhsl(268, 63%, 40%)
HSVhsv(268, 77%, 66%)
CMYKcmyk(41.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(31.50, 52.24, -58.52)
CIE-LCHlch(31.50, 78.45, 311.76°)
OKLaboklab(43.32% 0.0943 -0.1673)
OKLCHoklch(43.32% 0.192 299.4)
XYZxyz(12.9048, 6.8659, 37.6835)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326A8 #6BA826
analogous
#262AA8 #6326A8 #A426A8
triadic
#6326A8 #A86326 #26A863
tetradic
#6326A8 #A8262A #6BA826 #26A8A4
square
#6326A8 #A8262A #6BA826 #26A8A4
split-complementary
#6326A8 #A8A426 #2AA826
monochromatic
#280F44 #461B76 #6326A8 #8139D2 #A16BDE

Accessibility & contrast

On white

8.85
#6326A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6326A8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326A8#FFFFFF#000000##FFFFFF
##6326A81.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6326a8;
/* rgb */ color: rgb(99, 38, 168);
/* oklch */ color: oklch(43.3% 0.192 299.4);
Tailwind
colors: {
  custom: {
    50: '#9667c3',
    500: '#6326a8',
    950: '#000000',
  },
}
SCSS
$custom: #6326a8;
$custom-light: #9667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6326a8",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 268.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.19205,
    "h": 299.4
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#6326A8
secondary
#98C466
accent
#E64299
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6326A8

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

Preview Lab → · Contrast checker → · Palette generator →

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