#6541D8#6541D8

#6541D8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.217 H 286.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6541D8
RGBrgb(101, 65, 216)
HSLhsl(254, 66%, 55%)
HSVhsv(254, 70%, 85%)
CMYKcmyk(53.2%, 69.9%, 0%, 15.3%)
CIE-LABlab(40.42, 52.46, -72.11)
CIE-LCHlch(40.42, 89.17, 306.04°)
OKLaboklab(50.93% 0.063 -0.2073)
OKLCHoklch(50.93% 0.217 286.9)
XYZxyz(19.6481, 11.5041, 66.1376)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541D8 #B4D841
analogous
#4168D8 #6541D8 #B141D8
triadic
#6541D8 #D86541 #41D865
tetradic
#6541D8 #D84168 #B4D841 #41D8B1
square
#6541D8 #D84168 #B4D841 #41D8B1
split-complementary
#6541D8 #D8B141 #68D841
monochromatic
#341B84 #4825B6 #6541D8 #8E74E2 #B7A7ED

Accessibility & contrast

On white

6.36
#6541D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6541D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541D8#FFFFFF#000000##FFFFFF
##6541D81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#366988
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6541d8;
/* rgb */ color: rgb(101, 65, 216);
/* oklch */ color: oklch(50.9% 0.217 286.9);
Tailwind
colors: {
  custom: {
    50: '#9c79e5',
    500: '#6541d8',
    950: '#000000',
  },
}
SCSS
$custom: #6541d8;
$custom-light: #9c79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6541d8",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 254.305,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.21664,
    "h": 286.9
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#6541D8
secondary
#CBDA9B
accent
#E93FC0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6541D8

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

Preview Lab → · Contrast checker → · Palette generator →

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