#6541B2#6541B2

#6541B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.171 H 293.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6541B2
RGBrgb(101, 65, 178)
HSLhsl(259, 47%, 48%)
HSVhsv(259, 63%, 70%)
CMYKcmyk(43.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.41, 41.72, -54.86)
CIE-LCHlch(37.41, 68.92, 307.25°)
OKLaboklab(47.83% 0.0683 -0.1566)
OKLCHoklch(47.83% 0.171 293.6)
XYZxyz(15.2908, 9.7612, 43.1893)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541B2 #8EB241
analogous
#4156B2 #6541B2 #9D41B2
triadic
#6541B2 #B26541 #41B265
tetradic
#6541B2 #B24156 #8EB241 #41B29D
square
#6541B2 #B24156 #8EB241 #41B29D
split-complementary
#6541B2 #B29D41 #56B241
monochromatic
#322058 #4C3185 #6541B2 #8768C8 #AB95D8

Accessibility & contrast

On white

7.11
#6541B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6541B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6541B2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541B2#FFFFFF#000000##FFFFFF
##6541B21.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#505B73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6541b2;
/* rgb */ color: rgb(101, 65, 178);
/* oklch */ color: oklch(47.8% 0.171 293.6);
Tailwind
colors: {
  custom: {
    50: '#9777ca',
    500: '#6541b2',
    950: '#000000',
  },
}
SCSS
$custom: #6541b2;
$custom-light: #9777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6541b2",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 259.115,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.17088,
    "h": 293.6
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#6541B2
secondary
#B2C48B
accent
#D652AC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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