#6322A6#6322A6

#6322A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.194 H 300.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6322A6
RGBrgb(99, 34, 166)
HSLhsl(270, 66%, 39%)
HSVhsv(270, 80%, 65%)
CMYKcmyk(40.4%, 79.5%, 0%, 34.9%)
CIE-LABlab(30.76, 53.39, -58.53)
CIE-LCHlch(30.76, 79.22, 312.37°)
OKLaboklab(42.75% 0.0981 -0.1673)
OKLCHoklch(42.75% 0.194 300.4)
XYZxyz(12.5988, 6.5498, 36.6695)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6322A6 #65A622
analogous
#2223A6 #6322A6 #A522A6
triadic
#6322A6 #A66322 #22A663
tetradic
#6322A6 #A62223 #65A622 #22A6A5
square
#6322A6 #A62223 #65A622 #22A6A5
split-complementary
#6322A6 #A6A522 #23A622
monochromatic
#260D40 #451873 #6322A6 #8130D5 #A063DF

Accessibility & contrast

On white

9.09
#6322A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6322A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6322A6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6322A6#FFFFFF#000000##FFFFFF
##6322A61.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#534664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6322a6;
/* rgb */ color: rgb(99, 34, 166);
/* oklch */ color: oklch(42.7% 0.194 300.4);
Tailwind
colors: {
  custom: {
    50: '#9665c1',
    500: '#6322a6',
    950: '#000000',
  },
}
SCSS
$custom: #6322a6;
$custom-light: #9665c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6322a6",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 269.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.19395,
    "h": 300.4
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#6322A6
secondary
#93C45F
accent
#E93F95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6322A6

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

Preview Lab → · Contrast checker → · Palette generator →

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