#6541BE#6541BE

#6541BE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.186 H 291.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6541BE
RGBrgb(101, 65, 190)
HSLhsl(257, 49%, 50%)
HSVhsv(257, 66%, 75%)
CMYKcmyk(46.8%, 65.8%, 0%, 25.5%)
CIE-LABlab(38.31, 45.09, -60.47)
CIE-LCHlch(38.31, 75.43, 306.71°)
OKLaboklab(48.77% 0.0671 -0.1731)
OKLCHoklch(48.77% 0.186 291.2)
XYZxyz(16.5488, 10.2644, 49.8145)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BE #9ABE41
analogous
#415BBE #6541BE #A441BE
triadic
#6541BE #BE6541 #41BE65
tetradic
#6541BE #BE415B #9ABE41 #41BEA4
square
#6541BE #BE415B #9ABE41 #41BEA4
split-complementary
#6541BE #BEA441 #5BBE41
monochromatic
#352263 #4D3190 #6541BE #8A6FCE #AF9CDD

Accessibility & contrast

On white

6.88
#6541BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6541BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541BE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BE#FFFFFF#000000##FFFFFF
##6541BE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#495F7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6541be;
/* rgb */ color: rgb(101, 65, 190);
/* oklch */ color: oklch(48.8% 0.186 291.2);
Tailwind
colors: {
  custom: {
    50: '#9878d2',
    500: '#6541be',
    950: '#000000',
  },
}
SCSS
$custom: #6541be;
$custom-light: #9878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6541be",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 257.28,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.18563,
    "h": 291.2
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#6541BE
secondary
#B9C991
accent
#D94FB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6541BE

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

Preview Lab → · Contrast checker → · Palette generator →

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