#6348CC#6348CC

#6348CC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.194 H 286.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6348CC
RGBrgb(99, 72, 204)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(51.5%, 64.7%, 0%, 20%)
CIE-LABlab(40.65, 44.85, -64.82)
CIE-LCHlch(40.65, 78.83, 304.68°)
OKLaboklab(50.75% 0.0557 -0.186)
OKLCHoklch(50.75% 0.194 286.7)
XYZxyz(18.3588, 11.6461, 58.3956)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348CC #B1CC48
analogous
#486FCC #6348CC #A548CC
triadic
#6348CC #CC6348 #48CC63
tetradic
#6348CC #CC486F #B1CC48 #48CCA5
square
#6348CC #CC486F #B1CC48 #48CCA5
split-complementary
#6348CC #CCA548 #6FCC48
monochromatic
#332178 #482FA8 #6348CC #8C78D9 #B5A8E7

Accessibility & contrast

On white

6.31
#6348CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6348CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348CC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348CC#FFFFFF#000000##FFFFFF
##6348CC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#3B6884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6348cc;
/* rgb */ color: rgb(99, 72, 204);
/* oklch */ color: oklch(50.8% 0.194 286.7);
Tailwind
colors: {
  custom: {
    50: '#987ddc',
    500: '#6348cc',
    950: '#000000',
  },
}
SCSS
$custom: #6348cc;
$custom-light: #987ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6348cc",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 252.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.19414,
    "h": 286.7
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6348CC

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

Preview Lab → · Contrast checker → · Palette generator →

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