#6326A5#6326A5

#6326A5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.189 H 300.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6326A5
RGBrgb(99, 38, 165)
HSLhsl(269, 63%, 40%)
HSVhsv(269, 77%, 65%)
CMYKcmyk(40%, 77%, 0%, 35.3%)
CIE-LABlab(31.24, 51.50, -57.13)
CIE-LCHlch(31.24, 76.92, 312.03°)
OKLaboklab(43.06% 0.095 -0.1632)
OKLCHoklch(43.06% 0.189 300.2)
XYZxyz(12.6285, 6.7554, 36.2286)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326A5 #68A526
analogous
#2628A5 #6326A5 #A326A5
triadic
#6326A5 #A56326 #26A563
tetradic
#6326A5 #A52628 #68A526 #26A5A3
square
#6326A5 #A52628 #68A526 #26A5A3
split-complementary
#6326A5 #A5A326 #28A526
monochromatic
#270F42 #451B73 #6326A5 #8137D1 #A069DC

Accessibility & contrast

On white

8.93
#6326A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6326A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326A5
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326A5#FFFFFF#000000##FFFFFF
##6326A51.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#544764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6326a5;
/* rgb */ color: rgb(99, 38, 165);
/* oklch */ color: oklch(43.1% 0.189 300.2);
Tailwind
colors: {
  custom: {
    50: '#9667c1',
    500: '#6326a5',
    950: '#000000',
  },
}
SCSS
$custom: #6326a5;
$custom-light: #9667c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6326a5",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 268.819,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.18889,
    "h": 300.2
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#6326A5
secondary
#95C364
accent
#E64297
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6326A5

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

Preview Lab → · Contrast checker → · Palette generator →

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