#6346DC#6346DC

#6346DC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.216 H 284.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6346DC
RGBrgb(99, 70, 220)
HSLhsl(252, 68%, 57%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(55%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.53, 50.65, -72.58)
CIE-LCHlch(41.53, 88.51, 304.91°)
OKLaboklab(51.79% 0.0553 -0.2087)
OKLCHoklch(51.79% 0.216 284.8)
XYZxyz(20.2501, 12.1991, 68.9839)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346DC #BFDC46
analogous
#4674DC #6346DC #AE46DC
triadic
#6346DC #DC6346 #46DC63
tetradic
#6346DC #DC4674 #BFDC46 #46DCAE
square
#6346DC #DC4674 #BFDC46 #46DCAE
split-complementary
#6346DC #DCAE46 #74DC46
monochromatic
#311B8D #4324C0 #6346DC #8E79E6 #BAADEF

Accessibility & contrast

On white

6.10
#6346DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6346DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346DC#FFFFFF#000000##FFFFFF
##6346DC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#2B6D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6346dc;
/* rgb */ color: rgb(99, 70, 220);
/* oklch */ color: oklch(51.8% 0.216 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ce8',
    500: '#6346dc',
    950: '#000000',
  },
}
SCSS
$custom: #6346dc;
$custom-light: #9b7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6346dc",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 251.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.21596,
    "h": 284.8
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#6346DC
secondary
#D2DDA0
accent
#EB3DC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6346DC

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

Preview Lab → · Contrast checker → · Palette generator →

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