#6349CB#6349CB

#6349CB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.192 H 286.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6349CB
RGBrgb(99, 73, 203)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 64%, 80%)
CMYKcmyk(51.2%, 64%, 0%, 20.4%)
CIE-LABlab(40.78, 43.99, -64.03)
CIE-LCHlch(40.78, 77.69, 304.49°)
OKLaboklab(50.82% 0.0548 -0.1836)
OKLCHoklch(50.82% 0.192 286.6)
XYZxyz(18.3044, 11.7286, 57.7877)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6349CB #B1CB49
analogous
#4970CB #6349CB #A449CB
triadic
#6349CB #CB6349 #49CB63
tetradic
#6349CB #CB4970 #B1CB49 #49CBA4
square
#6349CB #CB4970 #B1CB49 #49CBA4
split-complementary
#6349CB #CBA449 #70CB49
monochromatic
#332277 #4830A7 #6349CB #8C79D9 #B5A8E6

Accessibility & contrast

On white

6.28
#6349CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6349CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6349CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6349CB#FFFFFF#000000##FFFFFF
##6349CB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#3C6983
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6349cb;
/* rgb */ color: rgb(99, 73, 203);
/* oklch */ color: oklch(50.8% 0.192 286.6);
Tailwind
colors: {
  custom: {
    50: '#987ddc',
    500: '#6349cb',
    950: '#000000',
  },
}
SCSS
$custom: #6349cb;
$custom-light: #987ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6349cb",
  "rgb": {
    "r": 99,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.19164,
    "h": 286.6
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#6349CB
secondary
#C8D49C
accent
#DF49C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6349CB

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

Preview Lab → · Contrast checker → · Palette generator →

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