#6328B2#6328B2

#6328B2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.201 H 296.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6328B2
RGBrgb(99, 40, 178)
HSLhsl(266, 63%, 43%)
HSVhsv(266, 78%, 70%)
CMYKcmyk(44.4%, 77.5%, 0%, 30.2%)
CIE-LABlab(32.67, 53.90, -62.60)
CIE-LCHlch(32.67, 82.61, 310.73°)
OKLaboklab(44.4% 0.0899 -0.1793)
OKLCHoklch(44.4% 0.201 296.6)
XYZxyz(13.9381, 7.3843, 42.8018)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328B2 #77B228
analogous
#2832B2 #6328B2 #A828B2
triadic
#6328B2 #B26328 #28B263
tetradic
#6328B2 #B22832 #77B228 #28B2A8
square
#6328B2 #B22832 #77B228 #28B2A8
split-complementary
#6328B2 #B2A828 #32B228
monochromatic
#2B124E #471D80 #6328B2 #8143D5 #A275E0

Accessibility & contrast

On white

8.48
#6328B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6328B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6328B2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6328B2#FFFFFF#000000##FFFFFF
##6328B21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#4E4E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6328b2;
/* rgb */ color: rgb(99, 40, 178);
/* oklch */ color: oklch(44.4% 0.201 296.6);
Tailwind
colors: {
  custom: {
    50: '#9769ca',
    500: '#6328b2',
    950: '#000000',
  },
}
SCSS
$custom: #6328b2;
$custom-light: #9769ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6328b2",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 265.652,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.444,
    "c": 0.20056,
    "h": 296.6
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#6328B2
secondary
#A1C76F
accent
#E641A0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6328B2

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

Preview Lab → · Contrast checker → · Palette generator →

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