#6545BA#6545BA

#6545BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.175 H 291.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6545BA
RGBrgb(101, 69, 186)
HSLhsl(256, 46%, 50%)
HSVhsv(256, 63%, 73%)
CMYKcmyk(45.7%, 62.9%, 0%, 27.1%)
CIE-LABlab(38.84, 41.72, -57.26)
CIE-LCHlch(38.84, 70.84, 306.08°)
OKLaboklab(49.06% 0.0632 -0.1637)
OKLCHoklch(49.06% 0.175 291.1)
XYZxyz(16.3554, 10.5676, 47.6228)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545BA #9ABA45
analogous
#4560BA #6545BA #9F45BA
triadic
#6545BA #BA6545 #45BA65
tetradic
#6545BA #BA4560 #9ABA45 #45BA9F
square
#6545BA #BA4560 #9ABA45 #45BA9F
split-complementary
#6545BA #BA9F45 #60BA45
monochromatic
#352461 #4D348D #6545BA #8A72CB #AF9EDB

Accessibility & contrast

On white

6.74
#6545BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6545BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545BA#FFFFFF#000000##FFFFFF
##6545BA1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#4B6079
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6545ba;
/* rgb */ color: rgb(101, 69, 186);
/* oklch */ color: oklch(49.1% 0.175 291.1);
Tailwind
colors: {
  custom: {
    50: '#977ad0',
    500: '#6545ba',
    950: '#000000',
  },
}
SCSS
$custom: #6545ba;
$custom-light: #977ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ba",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 256.41,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.17545,
    "h": 291.1
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#6545BA
secondary
#B9C893
accent
#D652B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6545BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6545BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva