#6541BA#6541BA

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

Color values

HEX#6541BA
RGBrgb(101, 65, 186)
HSLhsl(258, 48%, 49%)
HSVhsv(258, 65%, 73%)
CMYKcmyk(45.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.01, 43.96, -58.62)
CIE-LCHlch(38.01, 73.27, 306.87°)
OKLaboklab(48.45% 0.0676 -0.1676)
OKLCHoklch(48.45% 0.181 291.9)
XYZxyz(16.1176, 10.0919, 47.5436)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BA #96BA41
analogous
#415ABA #6541BA #A241BA
triadic
#6541BA #BA6541 #41BA65
tetradic
#6541BA #BA415A #96BA41 #41BAA2
square
#6541BA #BA415A #96BA41 #41BAA2
split-complementary
#6541BA #BAA241 #5ABA41
monochromatic
#34215F #4C318D #6541BA #896CCC #AD9ADC

Accessibility & contrast

On white

6.96
#6541BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6541BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541BA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BA#FFFFFF#000000##FFFFFF
##6541BA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#4C5E78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6541ba;
/* rgb */ color: rgb(101, 65, 186);
/* oklch */ color: oklch(48.5% 0.181 291.9);
Tailwind
colors: {
  custom: {
    50: '#9878d0',
    500: '#6541ba',
    950: '#000000',
  },
}
SCSS
$custom: #6541ba;
$custom-light: #9878d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ba",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 257.851,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.18075,
    "h": 291.9
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#6541BA
secondary
#B7C88F
accent
#D850AF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6541BA

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

Preview Lab → · Contrast checker → · Palette generator →

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