#6545BD#6545BD

#6545BD is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.179 H 290.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6545BD
RGBrgb(101, 69, 189)
HSLhsl(256, 48%, 51%)
HSVhsv(256, 63%, 74%)
CMYKcmyk(46.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(39.06, 42.57, -58.66)
CIE-LCHlch(39.06, 72.48, 305.97°)
OKLaboklab(49.29% 0.063 -0.1678)
OKLCHoklch(49.29% 0.179 290.6)
XYZxyz(16.6777, 10.6965, 49.3201)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545BD #9DBD45
analogous
#4561BD #6545BD #A145BD
triadic
#6545BD #BD6545 #45BD65
tetradic
#6545BD #BD4561 #9DBD45 #45BDA1
square
#6545BD #BD4561 #9DBD45 #45BDA1
split-complementary
#6545BD #BDA145 #61BD45
monochromatic
#352464 #4D3491 #6545BD #8A72CD #B09FDD

Accessibility & contrast

On white

6.69
#6545BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6545BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545BD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545BD#FFFFFF#000000##FFFFFF
##6545BD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#4A617B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6545bd;
/* rgb */ color: rgb(101, 69, 189);
/* oklch */ color: oklch(49.3% 0.179 290.6);
Tailwind
colors: {
  custom: {
    50: '#987ad2',
    500: '#6545bd',
    950: '#000000',
  },
}
SCSS
$custom: #6545bd;
$custom-light: #987ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6545bd",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 256,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.17921,
    "h": 290.6
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#6545BD
secondary
#BBCA94
accent
#D751B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6545BD

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

Preview Lab → · Contrast checker → · Palette generator →

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