#6341BF#6341BF

#6341BF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.187 H 290.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6341BF
RGBrgb(99, 65, 191)
HSLhsl(256, 50%, 50%)
HSVhsv(256, 66%, 75%)
CMYKcmyk(48.2%, 66%, 0%, 25.1%)
CIE-LABlab(38.19, 45.00, -61.26)
CIE-LCHlch(38.19, 76.01, 306.30°)
OKLaboklab(48.66% 0.0642 -0.1755)
OKLCHoklch(48.66% 0.187 290.1)
XYZxyz(16.4372, 10.1942, 50.3817)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341BF #9DBF41
analogous
#415EBF #6341BF #A241BF
triadic
#6341BF #BF6341 #41BF63
tetradic
#6341BF #BF415E #9DBF41 #41BFA2
square
#6341BF #BF415E #9DBF41 #41BFA2
split-complementary
#6341BF #BFA241 #5EBF41
monochromatic
#342264 #4B3192 #6341BF #896FCE #AE9DDE

Accessibility & contrast

On white

6.91
#6341BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6341BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341BF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341BF#FFFFFF#000000##FFFFFF
##6341BF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#45607A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6341bf;
/* rgb */ color: rgb(99, 65, 191);
/* oklch */ color: oklch(48.7% 0.187 290.1);
Tailwind
colors: {
  custom: {
    50: '#9778d3',
    500: '#6341bf',
    950: '#000000',
  },
}
SCSS
$custom: #6341bf;
$custom-light: #9778d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6341bf",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 256.19,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.18687,
    "h": 290.1
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#6341BF
secondary
#BBCA92
accent
#D94FB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6341BF

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

Preview Lab → · Contrast checker → · Palette generator →

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