#6546DB#6546DB

#6546DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.215 H 285.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6546DB
RGBrgb(101, 70, 219)
HSLhsl(252, 67%, 57%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(53.9%, 68%, 0%, 14.1%)
CIE-LABlab(41.63, 50.68, -71.85)
CIE-LCHlch(41.63, 87.92, 305.20°)
OKLaboklab(51.87% 0.0582 -0.2065)
OKLCHoklch(51.87% 0.215 285.7)
XYZxyz(20.3393, 12.2604, 68.2988)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546DB #BCDB46
analogous
#4672DB #6546DB #B046DB
triadic
#6546DB #DB6546 #46DB65
tetradic
#6546DB #DB4672 #BCDB46 #46DBB0
square
#6546DB #DB4672 #BCDB46 #46DBB0
split-complementary
#6546DB #DBB046 #72DB46
monochromatic
#331B8B #4525BF #6546DB #9079E5 #BAACEF

Accessibility & contrast

On white

6.08
#6546DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6546DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546DB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546DB#FFFFFF#000000##FFFFFF
##6546DB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#326C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6546db;
/* rgb */ color: rgb(101, 70, 219);
/* oklch */ color: oklch(51.9% 0.215 285.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ce7',
    500: '#6546db',
    950: '#000000',
  },
}
SCSS
$custom: #6546db;
$custom-light: #9c7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6546db",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 252.483,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.21458,
    "h": 285.7
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#6546DB
secondary
#D0DDA0
accent
#EA3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6546DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6546DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva