#6545AD#6545AD

#6545AD is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.159 H 293.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6545AD
RGBrgb(101, 69, 173)
HSLhsl(258, 43%, 47%)
HSVhsv(258, 60%, 68%)
CMYKcmyk(41.6%, 60.1%, 0%, 32.2%)
CIE-LABlab(37.91, 38.03, -51.08)
CIE-LCHlch(37.91, 63.69, 306.67°)
OKLaboklab(48.09% 0.064 -0.1455)
OKLCHoklch(48.09% 0.159 293.7)
XYZxyz(15.0358, 10.0397, 40.6727)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545AD #8DAD45
analogous
#4559AD #6545AD #9945AD
triadic
#6545AD #AD6545 #45AD65
tetradic
#6545AD #AD4559 #8DAD45 #45AD99
square
#6545AD #AD4559 #8DAD45 #45AD99
split-complementary
#6545AD #AD9945 #59AD45
monochromatic
#322255 #4B3481 #6545AD #876BC4 #AA97D5

Accessibility & contrast

On white

6.98
#6545AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6545AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545AD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545AD#FFFFFF#000000##FFFFFF
##6545AD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#0C57AB
Tritanopia (blue-blind)
#525C72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6545ad;
/* rgb */ color: rgb(101, 69, 173);
/* oklch */ color: oklch(48.1% 0.159 293.7);
Tailwind
colors: {
  custom: {
    50: '#967ac6',
    500: '#6545ad',
    950: '#000000',
  },
}
SCSS
$custom: #6545ad;
$custom-light: #967ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ad",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 258.462,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.15895,
    "h": 293.7
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#6545AD
secondary
#B1C18C
accent
#D355AC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6545AD

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

Preview Lab → · Contrast checker → · Palette generator →

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