#6346BA#6346BA

#6346BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.174 H 290.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6346BA
RGBrgb(99, 70, 186)
HSLhsl(255, 46%, 50%)
HSVhsv(255, 62%, 73%)
CMYKcmyk(46.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(38.86, 40.74, -57.24)
CIE-LCHlch(38.86, 70.26, 305.44°)
OKLaboklab(49.03% 0.0594 -0.1637)
OKLCHoklch(49.03% 0.174 290)
XYZxyz(16.1962, 10.5775, 47.6331)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6346BA #9DBA46
analogous
#4663BA #6346BA #9D46BA
triadic
#6346BA #BA6346 #46BA63
tetradic
#6346BA #BA4663 #9DBA46 #46BA9D
square
#6346BA #BA4663 #9DBA46 #46BA9D
split-complementary
#6346BA #BA9D46 #63BA46
monochromatic
#342461 #4B358E #6346BA #8973CB #AE9FDB

Accessibility & contrast

On white

6.74
#6346BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6346BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6346BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6346BA#FFFFFF#000000##FFFFFF
##6346BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#486179
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6346ba;
/* rgb */ color: rgb(99, 70, 186);
/* oklch */ color: oklch(49.0% 0.174 290.0);
Tailwind
colors: {
  custom: {
    50: '#967bd0',
    500: '#6346ba',
    950: '#000000',
  },
}
SCSS
$custom: #6346ba;
$custom-light: #967bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6346ba",
  "rgb": {
    "r": 99,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 255,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.17413,
    "h": 290
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#6346BA
secondary
#BBC894
accent
#D552B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6346BA

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

Preview Lab → · Contrast checker → · Palette generator →

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