#6326A6#6326A6

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

Color values

HEX#6326A6
RGBrgb(99, 38, 166)
HSLhsl(269, 63%, 40%)
HSVhsv(269, 77%, 65%)
CMYKcmyk(40.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(31.33, 51.75, -57.60)
CIE-LCHlch(31.33, 77.43, 311.94°)
OKLaboklab(43.14% 0.0948 -0.1646)
OKLCHoklch(43.14% 0.19 299.9)
XYZxyz(12.7199, 6.7919, 36.7098)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326A6 #69A626
analogous
#2629A6 #6326A6 #A326A6
triadic
#6326A6 #A66326 #26A663
tetradic
#6326A6 #A62629 #69A626 #26A6A3
square
#6326A6 #A62629 #69A626 #26A6A3
split-complementary
#6326A6 #A6A326 #29A626
monochromatic
#280F42 #451B74 #6326A6 #8138D1 #A16ADD

Accessibility & contrast

On white

8.90
#6326A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6326A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326A6
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326A6#FFFFFF#000000##FFFFFF
##6326A61.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#534865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6326a6;
/* rgb */ color: rgb(99, 38, 166);
/* oklch */ color: oklch(43.1% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#9667c1',
    500: '#6326a6',
    950: '#000000',
  },
}
SCSS
$custom: #6326a6;
$custom-light: #9667c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6326a6",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 268.594,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.18994,
    "h": 299.9
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#6326A6
secondary
#96C365
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6326A6

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

Preview Lab → · Contrast checker → · Palette generator →

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