#6328AB#6328AB

#6328AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.193 H 298.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6328AB
RGBrgb(99, 40, 171)
HSLhsl(267, 62%, 41%)
HSVhsv(267, 77%, 67%)
CMYKcmyk(42.1%, 76.6%, 0%, 32.9%)
CIE-LABlab(32.06, 52.14, -59.42)
CIE-LCHlch(32.06, 79.05, 311.27°)
OKLaboklab(43.79% 0.0918 -0.17)
OKLCHoklch(43.79% 0.193 298.4)
XYZxyz(13.2532, 7.1103, 39.1944)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328AB #70AB28
analogous
#282FAB #6328AB #A528AB
triadic
#6328AB #AB6328 #28AB63
tetradic
#6328AB #AB282F #70AB28 #28ABA5
square
#6328AB #AB282F #70AB28 #28ABA5
split-complementary
#6328AB #ABA528 #2FAB28
monochromatic
#2A1148 #461C79 #6328AB #813ED2 #A170DE

Accessibility & contrast

On white

8.67
#6328AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6328AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328AB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328AB#FFFFFF#000000##FFFFFF
##6328AB1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#514B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6328ab;
/* rgb */ color: rgb(99, 40, 171);
/* oklch */ color: oklch(43.8% 0.193 298.4);
Tailwind
colors: {
  custom: {
    50: '#9668c5',
    500: '#6328ab',
    950: '#000000',
  },
}
SCSS
$custom: #6328ab;
$custom-light: #9668c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6328ab",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 267.023,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.19314,
    "h": 298.4
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#6328AB
secondary
#9CC46A
accent
#E5439C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6328AB

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

Preview Lab → · Contrast checker → · Palette generator →

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