#6346CC#6346CC

#6346CC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.197 H 287.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6346CC
RGBrgb(99, 70, 204)
HSLhsl(253, 57%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.5%, 65.7%, 0%, 20%)
CIE-LABlab(40.23, 45.98, -65.50)
CIE-LCHlch(40.23, 80.03, 305.07°)
OKLaboklab(50.45% 0.0576 -0.188)
OKLCHoklch(50.45% 0.197 287)
XYZxyz(18.2316, 11.3917, 58.3532)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346CC #AFCC46
analogous
#466CCC #6346CC #A646CC
triadic
#6346CC #CC6346 #46CC63
tetradic
#6346CC #CC466C #AFCC46 #46CCA6
square
#6346CC #CC466C #AFCC46 #46CCA6
split-complementary
#6346CC #CCA646 #6CCC46
monochromatic
#332177 #482EA7 #6346CC #8B76D9 #B4A6E6

Accessibility & contrast

On white

6.41
#6346CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6346CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346CC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346CC#FFFFFF#000000##FFFFFF
##6346CC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#3B6783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6346cc;
/* rgb */ color: rgb(99, 70, 204);
/* oklch */ color: oklch(50.4% 0.197 287.0);
Tailwind
colors: {
  custom: {
    50: '#987bdd',
    500: '#6346cc',
    950: '#000000',
  },
}
SCSS
$custom: #6346cc;
$custom-light: #987bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6346cc",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 252.985,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.1966,
    "h": 287
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#6346CC
secondary
#C7D49A
accent
#E048BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6346CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6346CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva