#6328A6#6328A6

#6328A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.188 H 299.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6328A6
RGBrgb(99, 40, 166)
HSLhsl(268, 61%, 40%)
HSVhsv(268, 76%, 65%)
CMYKcmyk(40.4%, 75.9%, 0%, 34.9%)
CIE-LABlab(31.63, 50.88, -57.10)
CIE-LCHlch(31.63, 76.48, 311.70°)
OKLaboklab(43.36% 0.093 -0.1632)
OKLCHoklch(43.36% 0.188 299.7)
XYZxyz(12.7856, 6.9233, 36.7317)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328A6 #6BA628
analogous
#282CA6 #6328A6 #A228A6
triadic
#6328A6 #A66328 #28A663
tetradic
#6328A6 #A6282C #6BA628 #28A6A2
square
#6328A6 #A6282C #6BA628 #28A6A2
split-complementary
#6328A6 #A6A228 #2CA628
monochromatic
#281043 #461C75 #6328A6 #813BD0 #A16DDC

Accessibility & contrast

On white

8.81
#6328A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6328A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328A6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328A6#FFFFFF#000000##FFFFFF
##6328A61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6328a6;
/* rgb */ color: rgb(99, 40, 166);
/* oklch */ color: oklch(43.4% 0.188 299.7);
Tailwind
colors: {
  custom: {
    50: '#9668c1',
    500: '#6328a6',
    950: '#000000',
  },
}
SCSS
$custom: #6328a6;
$custom-light: #9668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6328a6",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 268.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.18782,
    "h": 299.7
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#6328A6
secondary
#98C267
accent
#E44499
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6328A6

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

Preview Lab → · Contrast checker → · Palette generator →

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