#6541AE#6541AE

#6541AE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.166 H 294.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6541AE
RGBrgb(101, 65, 174)
HSLhsl(260, 46%, 47%)
HSVhsv(260, 63%, 68%)
CMYKcmyk(42%, 62.6%, 0%, 31.8%)
CIE-LABlab(37.12, 40.60, -52.96)
CIE-LCHlch(37.12, 66.73, 307.48°)
OKLaboklab(47.53% 0.0686 -0.151)
OKLCHoklch(47.53% 0.166 294.4)
XYZxyz(14.8951, 9.6029, 41.1050)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541AE #8AAE41
analogous
#4153AE #6541AE #9C41AE
triadic
#6541AE #AE6541 #41AE65
tetradic
#6541AE #AE4153 #8AAE41 #41AE9C
square
#6541AE #AE4153 #8AAE41 #41AE9C
split-complementary
#6541AE #AE9C41 #53AE41
monochromatic
#312055 #4B3081 #6541AE #8666C6 #A993D7

Accessibility & contrast

On white

7.19
#6541AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6541AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6541AE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541AE#FFFFFF#000000##FFFFFF
##6541AE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#525A71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6541ae;
/* rgb */ color: rgb(101, 65, 174);
/* oklch */ color: oklch(47.5% 0.166 294.4);
Tailwind
colors: {
  custom: {
    50: '#9677c7',
    500: '#6541ae',
    950: '#000000',
  },
}
SCSS
$custom: #6541ae;
$custom-light: #9677c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ae",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 259.817,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.16588,
    "h": 294.4
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#6541AE
secondary
#AFC289
accent
#D553AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541AE

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

Preview Lab → · Contrast checker → · Palette generator →

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