#6545D1#6545D1

#6545D1 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.204 H 287.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6545D1
RGBrgb(101, 69, 209)
HSLhsl(254, 60%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(51.7%, 67%, 0%, 18%)
CIE-LABlab(40.61, 48.33, -67.76)
CIE-LCHlch(40.61, 83.23, 305.50°)
OKLaboklab(50.89% 0.0606 -0.1945)
OKLCHoklch(50.89% 0.204 287.3)
XYZxyz(19.0002, 11.6255, 61.5520)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545D1 #B1D145
analogous
#456BD1 #6545D1 #AB45D1
triadic
#6545D1 #D16545 #45D165
tetradic
#6545D1 #D1456B #B1D145 #45D1AB
square
#6545D1 #D1456B #B1D145 #45D1AB
split-complementary
#6545D1 #D1AB45 #6BD145
monochromatic
#341F7D #492BAE #6545D1 #8E76DD #B6A7E9

Accessibility & contrast

On white

6.32
#6545D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6545D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545D1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545D1#FFFFFF#000000##FFFFFF
##6545D11.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#3C6885
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6545d1;
/* rgb */ color: rgb(101, 69, 209);
/* oklch */ color: oklch(50.9% 0.204 287.3);
Tailwind
colors: {
  custom: {
    50: '#9a7be0',
    500: '#6545d1',
    950: '#000000',
  },
}
SCSS
$custom: #6545d1;
$custom-light: #9a7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#6545d1",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 253.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.20375,
    "h": 287.3
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#6545D1
secondary
#C9D79B
accent
#E344BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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