#6322A8#6322A8

#6322A8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.196 H 299.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6322A8
RGBrgb(99, 34, 168)
HSLhsl(269, 66%, 40%)
HSVhsv(269, 80%, 66%)
CMYKcmyk(41.1%, 79.8%, 0%, 34.1%)
CIE-LABlab(30.93, 53.88, -59.45)
CIE-LCHlch(30.93, 80.23, 312.18°)
OKLaboklab(42.92% 0.0975 -0.17)
OKLCHoklch(42.92% 0.196 299.8)
XYZxyz(12.7837, 6.6237, 37.6432)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6322A8 #67A822
analogous
#2224A8 #6322A8 #A622A8
triadic
#6322A8 #A86322 #22A863
tetradic
#6322A8 #A82224 #67A822 #22A8A6
square
#6322A8 #A82224 #67A822 #22A8A6
split-complementary
#6322A8 #A8A622 #24A822
monochromatic
#270D42 #451875 #6322A8 #8132D5 #A065E0

Accessibility & contrast

On white

9.03
#6322A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6322A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6322A8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6322A8#FFFFFF#000000##FFFFFF
##6322A81.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#524765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6322a8;
/* rgb */ color: rgb(99, 34, 168);
/* oklch */ color: oklch(42.9% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#9665c3',
    500: '#6322a8',
    950: '#000000',
  },
}
SCSS
$custom: #6322a8;
$custom-light: #9665c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6322a8",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 269.104,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.19599,
    "h": 299.8
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#6322A8
secondary
#94C561
accent
#E93F96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6322A8

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

Preview Lab → · Contrast checker → · Palette generator →

#6322A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva