#6541C0#6541C0

#6541C0 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.188 H 290.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6541C0
RGBrgb(101, 65, 192)
HSLhsl(257, 50%, 50%)
HSVhsv(257, 66%, 75%)
CMYKcmyk(47.4%, 66.1%, 0%, 24.7%)
CIE-LABlab(38.47, 45.66, -61.39)
CIE-LCHlch(38.47, 76.50, 306.64°)
OKLaboklab(48.93% 0.0668 -0.1758)
OKLCHoklch(48.93% 0.188 290.8)
XYZxyz(16.7689, 10.3524, 50.9736)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541C0 #9CC041
analogous
#415CC0 #6541C0 #A541C0
triadic
#6541C0 #C06541 #41C065
tetradic
#6541C0 #C0415C #9CC041 #41C0A5
square
#6541C0 #C0415C #9CC041 #41C0A5
split-complementary
#6541C0 #C0A541 #5CC041
monochromatic
#352265 #4D3193 #6541C0 #8A6FCF #B09DDE

Accessibility & contrast

On white

6.84
#6541C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6541C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541C0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541C0#FFFFFF#000000##FFFFFF
##6541C01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#48607B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6541c0;
/* rgb */ color: rgb(101, 65, 192);
/* oklch */ color: oklch(48.9% 0.188 290.8);
Tailwind
colors: {
  custom: {
    50: '#9878d4',
    500: '#6541c0',
    950: '#000000',
  },
}
SCSS
$custom: #6541c0;
$custom-light: #9878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6541c0",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 257.008,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.18806,
    "h": 290.8
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#6541C0
secondary
#BBCB92
accent
#DA4EB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6541C0

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

Preview Lab → · Contrast checker → · Palette generator →

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