#6541BF#6541BF

#6541BF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.187 H 291.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6541BF
RGBrgb(101, 65, 191)
HSLhsl(257, 50%, 50%)
HSVhsv(257, 66%, 75%)
CMYKcmyk(47.1%, 66%, 0%, 25.1%)
CIE-LABlab(38.39, 45.37, -60.93)
CIE-LCHlch(38.39, 75.97, 306.68°)
OKLaboklab(48.85% 0.067 -0.1744)
OKLCHoklch(48.85% 0.187 291)
XYZxyz(16.6584, 10.3083, 50.3921)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BF #9BBF41
analogous
#415CBF #6541BF #A441BF
triadic
#6541BF #BF6541 #41BF65
tetradic
#6541BF #BF415C #9BBF41 #41BFA4
square
#6541BF #BF415C #9BBF41 #41BFA4
split-complementary
#6541BF #BFA441 #5CBF41
monochromatic
#352264 #4D3192 #6541BF #8A6FCE #AF9DDE

Accessibility & contrast

On white

6.86
#6541BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6541BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541BF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BF#FFFFFF#000000##FFFFFF
##6541BF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6541bf;
/* rgb */ color: rgb(101, 65, 191);
/* oklch */ color: oklch(48.9% 0.187 291.0);
Tailwind
colors: {
  custom: {
    50: '#9878d3',
    500: '#6541bf',
    950: '#000000',
  },
}
SCSS
$custom: #6541bf;
$custom-light: #9878d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6541bf",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 257.143,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.18685,
    "h": 291
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#6541BF
secondary
#BACA92
accent
#D94FB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6541BF

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

Preview Lab → · Contrast checker → · Palette generator →

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