#6322A5#6322A5

#6322A5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.193 H 300.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6322A5
RGBrgb(99, 34, 165)
HSLhsl(270, 66%, 39%)
HSVhsv(270, 79%, 65%)
CMYKcmyk(40%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.67, 53.15, -58.07)
CIE-LCHlch(30.67, 78.72, 312.47°)
OKLaboklab(42.66% 0.0984 -0.166)
OKLCHoklch(42.66% 0.193 300.7)
XYZxyz(12.5075, 6.5132, 36.1882)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6322A5 #64A522
analogous
#2223A5 #6322A5 #A522A5
triadic
#6322A5 #A56322 #22A563
tetradic
#6322A5 #A52223 #64A522 #22A5A5
square
#6322A5 #A52223 #64A522 #22A5A5
split-complementary
#6322A5 #A5A522 #23A522
monochromatic
#260D40 #451872 #6322A5 #8130D4 #A063DF

Accessibility & contrast

On white

9.12
#6322A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6322A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6322A5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6322A5#FFFFFF#000000##FFFFFF
##6322A51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#544663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6322a5;
/* rgb */ color: rgb(99, 34, 165);
/* oklch */ color: oklch(42.7% 0.193 300.7);
Tailwind
colors: {
  custom: {
    50: '#9665c1',
    500: '#6322a5',
    950: '#000000',
  },
}
SCSS
$custom: #6322a5;
$custom-light: #9665c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6322a5",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 269.771,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.19293,
    "h": 300.7
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6322A5

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

Preview Lab → · Contrast checker → · Palette generator →

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