#6541AB#6541AB

#6541AB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.162 H 295.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6541AB
RGBrgb(101, 65, 171)
HSLhsl(260, 45%, 46%)
HSVhsv(260, 62%, 67%)
CMYKcmyk(40.9%, 62%, 0%, 32.9%)
CIE-LABlab(36.91, 39.77, -51.52)
CIE-LCHlch(36.91, 65.09, 307.67°)
OKLaboklab(47.31% 0.0688 -0.1468)
OKLCHoklch(47.31% 0.162 295.1)
XYZxyz(14.6059, 9.4872, 39.5819)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541AB #87AB41
analogous
#4152AB #6541AB #9A41AB
triadic
#6541AB #AB6541 #41AB65
tetradic
#6541AB #AB4152 #87AB41 #41AB9A
square
#6541AB #AB4152 #87AB41 #41AB9A
split-complementary
#6541AB #AB9A41 #52AB41
monochromatic
#311F52 #4B307F #6541AB #8565C4 #A891D5

Accessibility & contrast

On white

7.25
#6541AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6541AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541AB#FFFFFF#000000##FFFFFF
##6541AB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0255A9
Tritanopia (blue-blind)
#535970
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6541ab;
/* rgb */ color: rgb(101, 65, 171);
/* oklch */ color: oklch(47.3% 0.162 295.1);
Tailwind
colors: {
  custom: {
    50: '#9677c5',
    500: '#6541ab',
    950: '#000000',
  },
}
SCSS
$custom: #6541ab;
$custom-light: #9677c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ab",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 260.377,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.16213,
    "h": 295.1
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6541AB

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

Preview Lab → · Contrast checker → · Palette generator →

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