#6328A2#6328A2

#6328A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.184 H 300.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6328A2
RGBrgb(99, 40, 162)
HSLhsl(269, 60%, 40%)
HSVhsv(269, 75%, 64%)
CMYKcmyk(38.9%, 75.3%, 0%, 36.5%)
CIE-LABlab(31.30, 49.89, -55.23)
CIE-LCHlch(31.30, 74.43, 312.09°)
OKLaboklab(43.02% 0.094 -0.1577)
OKLCHoklch(43.02% 0.184 300.8)
XYZxyz(12.4244, 6.7788, 34.8293)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328A2 #67A228
analogous
#282AA2 #6328A2 #A028A2
triadic
#6328A2 #A26328 #28A263
tetradic
#6328A2 #A2282A #67A228 #28A2A0
square
#6328A2 #A2282A #67A228 #28A2A0
split-complementary
#6328A2 #A2A028 #2AA228
monochromatic
#271040 #451C71 #6328A2 #8139CE #A06ADA

Accessibility & contrast

On white

8.91
#6328A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6328A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328A2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328A2#FFFFFF#000000##FFFFFF
##6328A21.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#554763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6328a2;
/* rgb */ color: rgb(99, 40, 162);
/* oklch */ color: oklch(43.0% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#9568be',
    500: '#6328a2',
    950: '#000000',
  },
}
SCSS
$custom: #6328a2;
$custom-light: #9568be;
$custom-dark: #000000;
JSON
{
  "hex": "#6328a2",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 269.016,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.18355,
    "h": 300.8
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#6328A2
secondary
#94C165
accent
#E44497
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6328A2

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

Preview Lab → · Contrast checker → · Palette generator →

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