#6541CA#6541CA

#6541CA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.7% C 0.200 H 289.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6541CA
RGBrgb(101, 65, 202)
HSLhsl(256, 56%, 52%)
HSVhsv(256, 68%, 79%)
CMYKcmyk(50%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.26, 48.49, -65.92)
CIE-LCHlch(39.26, 81.83, 306.34°)
OKLaboklab(49.75% 0.0654 -0.1891)
OKLCHoklch(49.75% 0.2 289.1)
XYZxyz(17.9147, 10.8108, 57.0084)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541CA #A6CA41
analogous
#4162CA #6541CA #A941CA
triadic
#6541CA #CA6541 #41CA65
tetradic
#6541CA #CA4162 #A6CA41 #41CAA9
square
#6541CA #CA4162 #A6CA41 #41CAA9
split-complementary
#6541CA #CAA941 #62CA41
monochromatic
#352071 #4B2DA1 #6541CA #8C71D7 #B3A1E5

Accessibility & contrast

On white

6.64
#6541CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6541CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541CA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541CA#FFFFFF#000000##FFFFFF
##6541CA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#426480
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6541ca;
/* rgb */ color: rgb(101, 65, 202);
/* oklch */ color: oklch(49.7% 0.200 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a78db',
    500: '#6541ca',
    950: '#000000',
  },
}
SCSS
$custom: #6541ca;
$custom-light: #9a78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ca",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 255.766,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.20011,
    "h": 289.1
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#6541CA
secondary
#C2D196
accent
#E048B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541CA

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

Preview Lab → · Contrast checker → · Palette generator →

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