#6541BD#6541BD

#6541BD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.184 H 291.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6541BD
RGBrgb(101, 65, 189)
HSLhsl(257, 49%, 50%)
HSVhsv(257, 66%, 74%)
CMYKcmyk(46.6%, 65.6%, 0%, 25.9%)
CIE-LABlab(38.24, 44.81, -60.01)
CIE-LCHlch(38.24, 74.89, 306.75°)
OKLaboklab(48.69% 0.0672 -0.1717)
OKLCHoklch(48.69% 0.184 291.4)
XYZxyz(16.4399, 10.2208, 49.2409)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BD #99BD41
analogous
#415BBD #6541BD #A341BD
triadic
#6541BD #BD6541 #41BD65
tetradic
#6541BD #BD415B #99BD41 #41BDA3
square
#6541BD #BD415B #99BD41 #41BDA3
split-complementary
#6541BD #BDA341 #5BBD41
monochromatic
#342262 #4D318F #6541BD #8A6ECD #AF9CDD

Accessibility & contrast

On white

6.90
#6541BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6541BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541BD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BD#FFFFFF#000000##FFFFFF
##6541BD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#4A5F79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6541bd;
/* rgb */ color: rgb(101, 65, 189);
/* oklch */ color: oklch(48.7% 0.184 291.4);
Tailwind
colors: {
  custom: {
    50: '#9878d2',
    500: '#6541bd',
    950: '#000000',
  },
}
SCSS
$custom: #6541bd;
$custom-light: #9878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6541bd",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 257.419,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.18442,
    "h": 291.4
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6541BD

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

Preview Lab → · Contrast checker → · Palette generator →

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