#6541B9#6541B9

#6541B9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.180 H 292.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6541B9
RGBrgb(101, 65, 185)
HSLhsl(258, 48%, 49%)
HSVhsv(258, 65%, 73%)
CMYKcmyk(45.4%, 64.9%, 0%, 27.5%)
CIE-LABlab(37.93, 43.68, -58.15)
CIE-LCHlch(37.93, 72.73, 306.91°)
OKLaboklab(48.38% 0.0677 -0.1663)
OKLCHoklch(48.38% 0.18 292.1)
XYZxyz(16.0117, 10.0496, 46.9857)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541B9 #95B941
analogous
#4159B9 #6541B9 #A141B9
triadic
#6541B9 #B96541 #41B965
tetradic
#6541B9 #B94159 #95B941 #41B9A1
square
#6541B9 #B94159 #95B941 #41B9A1
split-complementary
#6541B9 #B9A141 #59B941
monochromatic
#34215E #4C318C #6541B9 #896CCB #AD99DB

Accessibility & contrast

On white

6.98
#6541B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6541B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541B9#FFFFFF#000000##FFFFFF
##6541B91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#4C5D77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6541b9;
/* rgb */ color: rgb(101, 65, 185);
/* oklch */ color: oklch(48.4% 0.180 292.1);
Tailwind
colors: {
  custom: {
    50: '#9778cf',
    500: '#6541b9',
    950: '#000000',
  },
}
SCSS
$custom: #6541b9;
$custom-light: #9778cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6541b9",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 258,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.17951,
    "h": 292.1
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#6541B9
secondary
#B6C78F
accent
#D850AF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6541B9

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

Preview Lab → · Contrast checker → · Palette generator →

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