#6541BC#6541BC

#6541BC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.183 H 291.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6541BC
RGBrgb(101, 65, 188)
HSLhsl(258, 49%, 50%)
HSVhsv(258, 65%, 74%)
CMYKcmyk(46.3%, 65.4%, 0%, 26.3%)
CIE-LABlab(38.16, 44.53, -59.54)
CIE-LCHlch(38.16, 74.35, 306.79°)
OKLaboklab(48.61% 0.0673 -0.1704)
OKLCHoklch(48.61% 0.183 291.6)
XYZxyz(16.3317, 10.1776, 48.6712)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541BC #98BC41
analogous
#415ABC #6541BC #A341BC
triadic
#6541BC #BC6541 #41BC65
tetradic
#6541BC #BC415A #98BC41 #41BCA3
square
#6541BC #BC415A #98BC41 #41BCA3
split-complementary
#6541BC #BCA341 #5ABC41
monochromatic
#342261 #4D318F #6541BC #896ECD #AE9BDC

Accessibility & contrast

On white

6.92
#6541BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6541BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541BC#FFFFFF#000000##FFFFFF
##6541BC1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#4B5F79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6541bc;
/* rgb */ color: rgb(101, 65, 188);
/* oklch */ color: oklch(48.6% 0.183 291.6);
Tailwind
colors: {
  custom: {
    50: '#9878d1',
    500: '#6541bc',
    950: '#000000',
  },
}
SCSS
$custom: #6541bc;
$custom-light: #9878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6541bc",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 257.561,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.1832,
    "h": 291.6
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6541BC

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

Preview Lab → · Contrast checker → · Palette generator →

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