#6345BD#6345BD

#6345BD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.179 H 289.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6345BD
RGBrgb(99, 69, 189)
HSLhsl(255, 48%, 51%)
HSVhsv(255, 63%, 74%)
CMYKcmyk(47.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(38.87, 42.18, -58.99)
CIE-LCHlch(38.87, 72.51, 305.57°)
OKLaboklab(49.1% 0.0603 -0.1688)
OKLCHoklch(49.1% 0.179 289.6)
XYZxyz(16.4564, 10.5824, 49.3098)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345BD #9FBD45
analogous
#4563BD #6345BD #9F45BD
triadic
#6345BD #BD6345 #45BD63
tetradic
#6345BD #BD4563 #9FBD45 #45BD9F
square
#6345BD #BD4563 #9FBD45 #45BD9F
split-complementary
#6345BD #BD9F45 #63BD45
monochromatic
#342464 #4B3491 #6345BD #8972CD #AF9FDD

Accessibility & contrast

On white

6.74
#6345BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6345BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6345BD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345BD#FFFFFF#000000##FFFFFF
##6345BD1.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)
#005EC1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#46617B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6345bd;
/* rgb */ color: rgb(99, 69, 189);
/* oklch */ color: oklch(49.1% 0.179 289.6);
Tailwind
colors: {
  custom: {
    50: '#967ad2',
    500: '#6345bd',
    950: '#000000',
  },
}
SCSS
$custom: #6345bd;
$custom-light: #967ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6345bd",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 255,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17924,
    "h": 289.6
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#6345BD
secondary
#BCCA94
accent
#D751B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6345BD

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

Preview Lab → · Contrast checker → · Palette generator →

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