#6345BF#6345BF

#6345BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.182 H 289.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6345BF
RGBrgb(99, 69, 191)
HSLhsl(255, 49%, 51%)
HSVhsv(255, 64%, 75%)
CMYKcmyk(48.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.02, 42.76, -59.91)
CIE-LCHlch(39.02, 73.61, 305.51°)
OKLaboklab(49.26% 0.0601 -0.1715)
OKLCHoklch(49.26% 0.182 289.3)
XYZxyz(16.6750, 10.6698, 50.4610)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345BF #A1BF45
analogous
#4564BF #6345BF #A045BF
triadic
#6345BF #BF6345 #45BF63
tetradic
#6345BF #BF4564 #A1BF45 #45BFA0
square
#6345BF #BF4564 #A1BF45 #45BFA0
split-complementary
#6345BF #BFA045 #64BF45
monochromatic
#342366 #4B3394 #6345BF #8973CF #AFA0DE

Accessibility & contrast

On white

6.70
#6345BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6345BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345BF#FFFFFF#000000##FFFFFF
##6345BF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#45627C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6345bf;
/* rgb */ color: rgb(99, 69, 191);
/* oklch */ color: oklch(49.3% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#977ad3',
    500: '#6345bf',
    950: '#000000',
  },
}
SCSS
$custom: #6345bf;
$custom-light: #977ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6345bf",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 254.754,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.18174,
    "h": 289.3
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#6345BF
secondary
#BECB95
accent
#D84FB7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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