#6541D9#6541D9

#6541D9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.218 H 286.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6541D9
RGBrgb(101, 65, 217)
HSLhsl(254, 67%, 55%)
HSVhsv(254, 70%, 85%)
CMYKcmyk(53.5%, 70%, 0%, 14.9%)
CIE-LABlab(40.50, 52.75, -72.54)
CIE-LCHlch(40.50, 89.69, 306.02°)
OKLaboklab(51.02% 0.0628 -0.2086)
OKLCHoklch(51.02% 0.218 286.8)
XYZxyz(19.7778, 11.5560, 66.8206)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541D9 #B5D941
analogous
#4169D9 #6541D9 #B141D9
triadic
#6541D9 #D96541 #41D965
tetradic
#6541D9 #D94169 #B5D941 #41D9B1
square
#6541D9 #D94169 #B5D941 #41D9B1
split-complementary
#6541D9 #D9B141 #69D941
monochromatic
#341B85 #4825B8 #6541D9 #8E74E3 #B8A7ED

Accessibility & contrast

On white

6.34
#6541D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6541D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541D9#FFFFFF#000000##FFFFFF
##6541D91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#356988
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6541d9;
/* rgb */ color: rgb(101, 65, 217);
/* oklch */ color: oklch(51.0% 0.218 286.8);
Tailwind
colors: {
  custom: {
    50: '#9c79e6',
    500: '#6541d9',
    950: '#000000',
  },
}
SCSS
$custom: #6541d9;
$custom-light: #9c79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6541d9",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 254.211,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.21781,
    "h": 286.8
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#6541D9
secondary
#CCDB9B
accent
#EA3EC1
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6541D9

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

Preview Lab → · Contrast checker → · Palette generator →

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