#6345BE#6345BE

#6345BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.180 H 289.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6345BE
RGBrgb(99, 69, 190)
HSLhsl(255, 48%, 51%)
HSVhsv(255, 64%, 75%)
CMYKcmyk(47.9%, 63.7%, 0%, 25.5%)
CIE-LABlab(38.94, 42.47, -59.45)
CIE-LCHlch(38.94, 73.06, 305.54°)
OKLaboklab(49.18% 0.0602 -0.1702)
OKLCHoklch(49.18% 0.18 289.5)
XYZxyz(16.5653, 10.6259, 49.8834)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6345BE #A0BE45
analogous
#4563BE #6345BE #9F45BE
triadic
#6345BE #BE6345 #45BE63
tetradic
#6345BE #BE4563 #A0BE45 #45BE9F
square
#6345BE #BE4563 #A0BE45 #45BE9F
split-complementary
#6345BE #BE9F45 #63BE45
monochromatic
#342365 #4B3393 #6345BE #8972CE #AFA0DE

Accessibility & contrast

On white

6.72
#6345BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6345BE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6345BE#FFFFFF#000000##FFFFFF
##6345BE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6345be;
/* rgb */ color: rgb(99, 69, 190);
/* oklch */ color: oklch(49.2% 0.180 289.5);
Tailwind
colors: {
  custom: {
    50: '#977ad2',
    500: '#6345be',
    950: '#000000',
  },
}
SCSS
$custom: #6345be;
$custom-light: #977ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6345be",
  "rgb": {
    "r": 99,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 254.876,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.18049,
    "h": 289.5
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#6345BE
secondary
#BDCA95
accent
#D850B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6345BE

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

Preview Lab → · Contrast checker → · Palette generator →

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