#6545BF#6545BF

#6545BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.182 H 290.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6545BF
RGBrgb(101, 69, 191)
HSLhsl(256, 49%, 51%)
HSVhsv(256, 64%, 75%)
CMYKcmyk(47.1%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.21, 43.15, -59.59)
CIE-LCHlch(39.21, 73.57, 305.91°)
OKLaboklab(49.45% 0.0628 -0.1705)
OKLCHoklch(49.45% 0.182 290.2)
XYZxyz(16.8963, 10.7839, 50.4714)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545BF #9FBF45
analogous
#4562BF #6545BF #A245BF
triadic
#6545BF #BF6545 #45BF65
tetradic
#6545BF #BF4562 #9FBF45 #45BFA2
square
#6545BF #BF4562 #9FBF45 #45BFA2
split-complementary
#6545BF #BFA245 #62BF45
monochromatic
#352366 #4C3394 #6545BF #8B73CF #B0A0DE

Accessibility & contrast

On white

6.65
#6545BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6545BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545BF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545BF#FFFFFF#000000##FFFFFF
##6545BF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#48627C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6545bf;
/* rgb */ color: rgb(101, 69, 191);
/* oklch */ color: oklch(49.4% 0.182 290.2);
Tailwind
colors: {
  custom: {
    50: '#987ad3',
    500: '#6545bf',
    950: '#000000',
  },
}
SCSS
$custom: #6545bf;
$custom-light: #987ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6545bf",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 255.738,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.18171,
    "h": 290.2
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#6545BF
secondary
#BDCB95
accent
#D84FB4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6545BF

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

Preview Lab → · Contrast checker → · Palette generator →

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