#6541C3#6541C3

#6541C3 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.192 H 290.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6541C3
RGBrgb(101, 65, 195)
HSLhsl(257, 52%, 51%)
HSVhsv(257, 67%, 76%)
CMYKcmyk(48.2%, 66.7%, 0%, 23.5%)
CIE-LABlab(38.70, 46.50, -62.76)
CIE-LCHlch(38.70, 78.11, 306.54°)
OKLaboklab(49.17% 0.0664 -0.1798)
OKLCHoklch(49.17% 0.192 290.3)
XYZxyz(17.1046, 10.4868, 52.7421)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541C3 #9FC341
analogous
#415EC3 #6541C3 #A641C3
triadic
#6541C3 #C36541 #41C365
tetradic
#6541C3 #C3415E #9FC341 #41C3A6
square
#6541C3 #C3415E #9FC341 #41C3A6
split-complementary
#6541C3 #C3A641 #5EC341
monochromatic
#352169 #4C3097 #6541C3 #8B70D2 #B09EE0

Accessibility & contrast

On white

6.78
#6541C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6541C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541C3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541C3#FFFFFF#000000##FFFFFF
##6541C31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#46617C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6541c3;
/* rgb */ color: rgb(101, 65, 195);
/* oklch */ color: oklch(49.2% 0.192 290.3);
Tailwind
colors: {
  custom: {
    50: '#9978d6',
    500: '#6541c3',
    950: '#000000',
  },
}
SCSS
$custom: #6541c3;
$custom-light: #9978d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6541c3",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 256.615,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.1917,
    "h": 290.3
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#6541C3
secondary
#BDCD93
accent
#DB4CB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6541C3

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

Preview Lab → · Contrast checker → · Palette generator →

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