#6328B1#6328B1

#6328B1 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.200 H 296.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6328B1
RGBrgb(99, 40, 177)
HSLhsl(266, 63%, 43%)
HSVhsv(266, 77%, 69%)
CMYKcmyk(44.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(32.58, 53.65, -62.15)
CIE-LCHlch(32.58, 82.10, 310.80°)
OKLaboklab(44.31% 0.0901 -0.178)
OKLCHoklch(44.31% 0.2 296.9)
XYZxyz(13.8381, 7.3443, 42.2749)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328B1 #76B128
analogous
#2832B1 #6328B1 #A728B1
triadic
#6328B1 #B16328 #28B163
tetradic
#6328B1 #B12832 #76B128 #28B1A7
square
#6328B1 #B12832 #76B128 #28B1A7
split-complementary
#6328B1 #B1A728 #32B128
monochromatic
#2B114D #471D7F #6328B1 #8142D4 #A274E0

Accessibility & contrast

On white

8.51
#6328B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6328B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328B1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328B1#FFFFFF#000000##FFFFFF
##6328B11.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#4E4D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6328b1;
/* rgb */ color: rgb(99, 40, 177);
/* oklch */ color: oklch(44.3% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#9769c9',
    500: '#6328b1',
    950: '#000000',
  },
}
SCSS
$custom: #6328b1;
$custom-light: #9769c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6328b1",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 265.839,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.19951,
    "h": 296.9
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#6328B1
secondary
#A1C76E
accent
#E6429F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6328B1

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

Preview Lab → · Contrast checker → · Palette generator →

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