#6545AF#6545AF

#6545AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.162 H 293.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6545AF
RGBrgb(101, 69, 175)
HSLhsl(258, 43%, 48%)
HSVhsv(258, 61%, 69%)
CMYKcmyk(42.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(38.05, 38.59, -52.05)
CIE-LCHlch(38.05, 64.79, 306.56°)
OKLaboklab(48.23% 0.0639 -0.1483)
OKLCHoklch(48.23% 0.162 293.3)
XYZxyz(15.2307, 10.1177, 41.6996)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545AF #8FAF45
analogous
#455AAF #6545AF #9A45AF
triadic
#6545AF #AF6545 #45AF65
tetradic
#6545AF #AF455A #8FAF45 #45AF9A
square
#6545AF #AF455A #8FAF45 #45AF9A
split-complementary
#6545AF #AF9A45 #5AAF45
monochromatic
#322257 #4C3483 #6545AF #876CC5 #AB98D6

Accessibility & contrast

On white

6.95
#6545AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6545AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545AF#FFFFFF#000000##FFFFFF
##6545AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#515D73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6545af;
/* rgb */ color: rgb(101, 69, 175);
/* oklch */ color: oklch(48.2% 0.162 293.3);
Tailwind
colors: {
  custom: {
    50: '#967ac8',
    500: '#6545af',
    950: '#000000',
  },
}
SCSS
$custom: #6545af;
$custom-light: #967ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6545af",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 258.113,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.16152,
    "h": 293.3
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#6545AF
secondary
#B2C28D
accent
#D355AD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6545AF

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

Preview Lab → · Contrast checker → · Palette generator →

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