#6348BB#6348BB

#6348BB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.173 H 289.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6348BB
RGBrgb(99, 72, 187)
HSLhsl(254, 46%, 51%)
HSVhsv(254, 61%, 73%)
CMYKcmyk(47.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(39.37, 39.87, -57.00)
CIE-LCHlch(39.37, 69.56, 304.97°)
OKLaboklab(49.42% 0.0572 -0.163)
OKLCHoklch(49.42% 0.173 289.3)
XYZxyz(16.4300, 10.8746, 48.2374)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348BB #A0BB48
analogous
#4866BB #6348BB #9C48BB
triadic
#6348BB #BB6348 #48BB63
tetradic
#6348BB #BB4866 #A0BB48 #48BB9C
square
#6348BB #BB4866 #A0BB48 #48BB9C
split-complementary
#6348BB #BB9C48 #66BB48
monochromatic
#342564 #4B3690 #6348BB #8975CC #AFA1DC

Accessibility & contrast

On white

6.61
#6348BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6348BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348BB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348BB#FFFFFF#000000##FFFFFF
##6348BB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#47637B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6348bb;
/* rgb */ color: rgb(99, 72, 187);
/* oklch */ color: oklch(49.4% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#967cd0',
    500: '#6348bb',
    950: '#000000',
  },
}
SCSS
$custom: #6348bb;
$custom-light: #967cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6348bb",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 254.087,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.17271,
    "h": 289.3
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#6348BB
secondary
#BDC996
accent
#D552B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6348BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6348BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva