#6541C8#6541C8

#6541C8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.198 H 289.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6541C8
RGBrgb(101, 65, 200)
HSLhsl(256, 55%, 52%)
HSVhsv(256, 68%, 78%)
CMYKcmyk(49.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.10, 47.92, -65.02)
CIE-LCHlch(39.10, 80.77, 306.39°)
OKLaboklab(49.58% 0.0657 -0.1865)
OKLCHoklch(49.58% 0.198 289.4)
XYZxyz(17.6794, 10.7167, 55.7694)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541C8 #A4C841
analogous
#4161C8 #6541C8 #A941C8
triadic
#6541C8 #C86541 #41C865
tetradic
#6541C8 #C84161 #A4C841 #41C8A9
square
#6541C8 #C84161 #A4C841 #41C8A9
split-complementary
#6541C8 #C8A941 #61C841
monochromatic
#35206F #4C2E9E #6541C8 #8B70D6 #B2A0E3

Accessibility & contrast

On white

6.68
#6541C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6541C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6541C8#FFFFFF#000000##FFFFFF
##6541C81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#43637F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6541c8;
/* rgb */ color: rgb(101, 65, 200);
/* oklch */ color: oklch(49.6% 0.198 289.4);
Tailwind
colors: {
  custom: {
    50: '#9978da',
    500: '#6541c8',
    950: '#000000',
  },
}
SCSS
$custom: #6541c8;
$custom-light: #9978da;
$custom-dark: #000000;
JSON
{
  "hex": "#6541c8",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 256,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49581,
    "c": 0.19772,
    "h": 289.4
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#6541C8
secondary
#C0D095
accent
#DE49B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541C8

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

Preview Lab → · Contrast checker → · Palette generator →

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