#6541BB#6541BB

#6541BB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.182 H 291.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6541BB
RGBrgb(101, 65, 187)
HSLhsl(258, 48%, 49%)
HSVhsv(258, 65%, 73%)
CMYKcmyk(46%, 65.2%, 0%, 26.7%)
CIE-LABlab(38.08, 44.25, -59.08)
CIE-LCHlch(38.08, 73.81, 306.83°)
OKLaboklab(48.53% 0.0674 -0.169)
OKLCHoklch(48.53% 0.182 291.7)
XYZxyz(16.2243, 10.1346, 48.1054)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BB #97BB41
analogous
#415ABB #6541BB #A241BB
triadic
#6541BB #BB6541 #41BB65
tetradic
#6541BB #BB415A #97BB41 #41BBA2
square
#6541BB #BB415A #97BB41 #41BBA2
split-complementary
#6541BB #BBA241 #5ABB41
monochromatic
#342160 #4C318E #6541BB #896DCC #AE9ADC

Accessibility & contrast

On white

6.94
#6541BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6541BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541BB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BB#FFFFFF#000000##FFFFFF
##6541BB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#4B5E78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6541bb;
/* rgb */ color: rgb(101, 65, 187);
/* oklch */ color: oklch(48.5% 0.182 291.7);
Tailwind
colors: {
  custom: {
    50: '#9878d0',
    500: '#6541bb',
    950: '#000000',
  },
}
SCSS
$custom: #6541bb;
$custom-light: #9878d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6541bb",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 257.705,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.18197,
    "h": 291.7
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#6541BB
secondary
#B7C890
accent
#D850B0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6541BB

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

Preview Lab → · Contrast checker → · Palette generator →

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