#6541AC#6541AC

#6541AC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.163 H 294.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6541AC
RGBrgb(101, 65, 172)
HSLhsl(260, 45%, 46%)
HSVhsv(260, 62%, 67%)
CMYKcmyk(41.3%, 62.2%, 0%, 32.5%)
CIE-LABlab(36.98, 40.05, -52.00)
CIE-LCHlch(36.98, 65.64, 307.60°)
OKLaboklab(47.38% 0.0688 -0.1482)
OKLCHoklch(47.38% 0.163 294.9)
XYZxyz(14.7015, 9.5255, 40.0858)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541AC #88AC41
analogous
#4153AC #6541AC #9B41AC
triadic
#6541AC #AC6541 #41AC65
tetradic
#6541AC #AC4153 #88AC41 #41AC9B
square
#6541AC #AC4153 #88AC41 #41AC9B
split-complementary
#6541AC #AC9B41 #53AC41
monochromatic
#311F53 #4B3080 #6541AC #8565C5 #A992D6

Accessibility & contrast

On white

7.23
#6541AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6541AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6541AC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541AC#FFFFFF#000000##FFFFFF
##6541AC1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#535970
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6541ac;
/* rgb */ color: rgb(101, 65, 172);
/* oklch */ color: oklch(47.4% 0.163 294.9);
Tailwind
colors: {
  custom: {
    50: '#9677c5',
    500: '#6541ac',
    950: '#000000',
  },
}
SCSS
$custom: #6541ac;
$custom-light: #9677c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ac",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 260.187,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.16337,
    "h": 294.9
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#6541AC
secondary
#AEC188
accent
#D553A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541AC

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

Preview Lab → · Contrast checker → · Palette generator →

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