#6349CC#6349CC

#6349CC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.193 H 286.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6349CC
RGBrgb(99, 73, 204)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 64%, 80%)
CMYKcmyk(51.5%, 64.2%, 0%, 20%)
CIE-LABlab(40.86, 44.29, -64.48)
CIE-LCHlch(40.86, 78.23, 304.48°)
OKLaboklab(50.9% 0.0547 -0.185)
OKLCHoklch(50.9% 0.193 286.5)
XYZxyz(18.4240, 11.7765, 58.4173)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6349CC #B2CC49
analogous
#4971CC #6349CC #A449CC
triadic
#6349CC #CC6349 #49CC63
tetradic
#6349CC #CC4971 #B2CC49 #49CCA4
square
#6349CC #CC4971 #B2CC49 #49CCA4
split-complementary
#6349CC #CCA449 #71CC49
monochromatic
#332279 #472FA9 #6349CC #8C79D9 #B5A9E7

Accessibility & contrast

On white

6.26
#6349CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6349CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6349CC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6349CC#FFFFFF#000000##FFFFFF
##6349CC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#3B6984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6349cc;
/* rgb */ color: rgb(99, 73, 204);
/* oklch */ color: oklch(50.9% 0.193 286.5);
Tailwind
colors: {
  custom: {
    50: '#987ddc',
    500: '#6349cc',
    950: '#000000',
  },
}
SCSS
$custom: #6349cc;
$custom-light: #987ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6349cc",
  "rgb": {
    "r": 99,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 251.908,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.19289,
    "h": 286.5
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#6349CC
secondary
#C9D49D
accent
#E048C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6349CC

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

Preview Lab → · Contrast checker → · Palette generator →

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