#6345B8#6345B8

#6345B8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.173 H 290.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6345B8
RGBrgb(99, 69, 184)
HSLhsl(256, 45%, 50%)
HSVhsv(256, 63%, 72%)
CMYKcmyk(46.2%, 62.5%, 0%, 27.8%)
CIE-LABlab(38.50, 40.73, -56.65)
CIE-LCHlch(38.50, 69.78, 305.72°)
OKLaboklab(48.71% 0.0607 -0.1619)
OKLCHoklch(48.71% 0.173 290.5)
XYZxyz(15.9230, 10.3690, 46.5006)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345B8 #9AB845
analogous
#4561B8 #6345B8 #9D45B8
triadic
#6345B8 #B86345 #45B863
tetradic
#6345B8 #B84561 #9AB845 #45B89D
square
#6345B8 #B84561 #9AB845 #45B89D
split-complementary
#6345B8 #B89D45 #61B845
monochromatic
#33245F #4B348B #6345B8 #8871CA #AD9DDA

Accessibility & contrast

On white

6.83
#6345B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6345B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345B8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345B8#FFFFFF#000000##FFFFFF
##6345B81.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#496078
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6345b8;
/* rgb */ color: rgb(99, 69, 184);
/* oklch */ color: oklch(48.7% 0.173 290.5);
Tailwind
colors: {
  custom: {
    50: '#967ace',
    500: '#6345b8',
    950: '#000000',
  },
}
SCSS
$custom: #6345b8;
$custom-light: #967ace;
$custom-dark: #000000;
JSON
{
  "hex": "#6345b8",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 255.652,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.17294,
    "h": 290.5
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#6345B8
secondary
#B9C792
accent
#D553B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6345B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6345B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva