#6541D3#6541D3

#6541D3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.211 H 287.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6541D3
RGBrgb(101, 65, 211)
HSLhsl(255, 62%, 54%)
HSVhsv(255, 69%, 83%)
CMYKcmyk(52.1%, 69.2%, 0%, 17.3%)
CIE-LABlab(40.00, 51.04, -69.92)
CIE-LCHlch(40.00, 86.57, 306.13°)
OKLaboklab(50.5% 0.0639 -0.2009)
OKLCHoklch(50.5% 0.211 287.6)
XYZxyz(19.0115, 11.2495, 62.7850)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541D3 #AFD341
analogous
#4166D3 #6541D3 #AE41D3
triadic
#6541D3 #D36541 #41D365
tetradic
#6541D3 #D34166 #AFD341 #41D3AE
square
#6541D3 #D34166 #AFD341 #41D3AE
split-complementary
#6541D3 #D3AE41 #66D341
monochromatic
#351D7D #4928AE #6541D3 #8D73DF #B6A4EA

Accessibility & contrast

On white

6.46
#6541D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6541D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541D3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541D3#FFFFFF#000000##FFFFFF
##6541D31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#3A6785
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6541d3;
/* rgb */ color: rgb(101, 65, 211);
/* oklch */ color: oklch(50.5% 0.211 287.6);
Tailwind
colors: {
  custom: {
    50: '#9b78e2',
    500: '#6541d3',
    950: '#000000',
  },
}
SCSS
$custom: #6541d3;
$custom-light: #9b78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6541d3",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 254.795,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.21078,
    "h": 287.6
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#6541D3
secondary
#C8D799
accent
#E542BD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6541D3

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

Preview Lab → · Contrast checker → · Palette generator →

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