#6328AE#6328AE

#6328AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.196 H 297.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6328AE
RGBrgb(99, 40, 174)
HSLhsl(266, 63%, 42%)
HSVhsv(266, 77%, 68%)
CMYKcmyk(43.1%, 77%, 0%, 31.8%)
CIE-LABlab(32.32, 52.89, -60.79)
CIE-LCHlch(32.32, 80.58, 311.03°)
OKLaboklab(44.05% 0.091 -0.174)
OKLCHoklch(44.05% 0.196 297.6)
XYZxyz(13.5424, 7.2260, 40.7174)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328AE #73AE28
analogous
#2830AE #6328AE #A628AE
triadic
#6328AE #AE6328 #28AE63
tetradic
#6328AE #AE2830 #73AE28 #28AEA6
square
#6328AE #AE2830 #73AE28 #28AEA6
split-complementary
#6328AE #AEA628 #30AE28
monochromatic
#2A114A #471D7C #6328AE #8140D3 #A272DF

Accessibility & contrast

On white

8.59
#6328AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6328AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328AE#FFFFFF#000000##FFFFFF
##6328AE1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6328ae;
/* rgb */ color: rgb(99, 40, 174);
/* oklch */ color: oklch(44.0% 0.196 297.6);
Tailwind
colors: {
  custom: {
    50: '#9769c7',
    500: '#6328ae',
    950: '#000000',
  },
}
SCSS
$custom: #6328ae;
$custom-light: #9769c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6328ae",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 266.418,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.19633,
    "h": 297.6
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#6328AE
secondary
#9EC66C
accent
#E6429E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6328AE

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

Preview Lab → · Contrast checker → · Palette generator →

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