#6328A4#6328A4

#6328A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.186 H 300.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6328A4
RGBrgb(99, 40, 164)
HSLhsl(269, 61%, 40%)
HSVhsv(269, 76%, 64%)
CMYKcmyk(39.6%, 75.6%, 0%, 35.7%)
CIE-LABlab(31.46, 50.38, -56.17)
CIE-LCHlch(31.46, 75.46, 311.89°)
OKLaboklab(43.19% 0.0935 -0.1604)
OKLCHoklch(43.19% 0.186 300.2)
XYZxyz(12.6036, 6.8504, 35.7730)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328A4 #69A428
analogous
#282BA4 #6328A4 #A128A4
triadic
#6328A4 #A46328 #28A463
tetradic
#6328A4 #A4282B #69A428 #28A4A1
square
#6328A4 #A4282B #69A428 #28A4A1
split-complementary
#6328A4 #A4A128 #2BA428
monochromatic
#281042 #451C73 #6328A4 #813ACF #A06BDB

Accessibility & contrast

On white

8.86
#6328A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6328A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328A4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328A4#FFFFFF#000000##FFFFFF
##6328A41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#544864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6328a4;
/* rgb */ color: rgb(99, 40, 164);
/* oklch */ color: oklch(43.2% 0.186 300.2);
Tailwind
colors: {
  custom: {
    50: '#9568c0',
    500: '#6328a4',
    950: '#000000',
  },
}
SCSS
$custom: #6328a4;
$custom-light: #9568c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6328a4",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 268.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.18568,
    "h": 300.2
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#6328A4
secondary
#96C166
accent
#E44498
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6328A4

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

Preview Lab → · Contrast checker → · Palette generator →

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