#6541AA#6541AA

#6541AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.2% C 0.161 H 295.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6541AA
RGBrgb(101, 65, 170)
HSLhsl(261, 45%, 46%)
HSVhsv(261, 62%, 67%)
CMYKcmyk(40.6%, 61.8%, 0%, 33.3%)
CIE-LABlab(36.84, 39.49, -51.04)
CIE-LCHlch(36.84, 64.54, 307.73°)
OKLaboklab(47.23% 0.0689 -0.1454)
OKLCHoklch(47.23% 0.161 295.4)
XYZxyz(14.5109, 9.4493, 39.0818)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541AA #86AA41
analogous
#4151AA #6541AA #9941AA
triadic
#6541AA #AA6541 #41AA65
tetradic
#6541AA #AA4151 #86AA41 #41AA99
square
#6541AA #AA4151 #86AA41 #41AA99
split-complementary
#6541AA #AA9941 #51AA41
monochromatic
#301F51 #4B307E #6541AA #8564C4 #A891D5

Accessibility & contrast

On white

7.27
#6541AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6541AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541AA#FFFFFF#000000##FFFFFF
##6541AA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#53586F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6541aa;
/* rgb */ color: rgb(101, 65, 170);
/* oklch */ color: oklch(47.2% 0.161 295.4);
Tailwind
colors: {
  custom: {
    50: '#9677c4',
    500: '#6541aa',
    950: '#000000',
  },
}
SCSS
$custom: #6541aa;
$custom-light: #9677c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6541aa",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 260.571,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47233,
    "c": 0.16086,
    "h": 295.4
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#6541AA
secondary
#ACC087
accent
#D453A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541AA

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

Preview Lab → · Contrast checker → · Palette generator →

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