#6328AA#6328AA

#6328AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.192 H 298.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6328AA
RGBrgb(99, 40, 170)
HSLhsl(267, 62%, 41%)
HSVhsv(267, 76%, 67%)
CMYKcmyk(41.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(31.97, 51.88, -58.96)
CIE-LCHlch(31.97, 78.54, 311.35°)
OKLaboklab(43.7% 0.092 -0.1686)
OKLCHoklch(43.7% 0.192 298.6)
XYZxyz(13.1582, 7.0723, 38.6943)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6328AA #6FAA28
analogous
#282EAA #6328AA #A428AA
triadic
#6328AA #AA6328 #28AA63
tetradic
#6328AA #AA282E #6FAA28 #28AAA4
square
#6328AA #AA282E #6FAA28 #28AAA4
split-complementary
#6328AA #AAA428 #2EAA28
monochromatic
#291147 #461C78 #6328AA #813ED2 #A16FDD

Accessibility & contrast

On white

8.70
#6328AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6328AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6328AA#FFFFFF#000000##FFFFFF
##6328AA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#514A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6328aa;
/* rgb */ color: rgb(99, 40, 170);
/* oklch */ color: oklch(43.7% 0.192 298.6);
Tailwind
colors: {
  custom: {
    50: '#9668c4',
    500: '#6328aa',
    950: '#000000',
  },
}
SCSS
$custom: #6328aa;
$custom-light: #9668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6328aa",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 267.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.19208,
    "h": 298.6
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#6328AA
secondary
#9BC46A
accent
#E5439B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6328AA

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

Preview Lab → · Contrast checker → · Palette generator →

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