#6548DB#6548DB

#6548DB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.212 H 285.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6548DB
RGBrgb(101, 72, 219)
HSLhsl(252, 67%, 57%)
HSVhsv(252, 67%, 86%)
CMYKcmyk(53.9%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.02, 49.59, -71.20)
CIE-LCHlch(42.02, 86.77, 304.86°)
OKLaboklab(52.16% 0.0565 -0.2046)
OKLCHoklch(52.16% 0.212 285.4)
XYZxyz(20.4665, 12.5148, 68.3412)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548DB #BEDB48
analogous
#4875DB #6548DB #AF48DB
triadic
#6548DB #DB6548 #48DB65
tetradic
#6548DB #DB4875 #BEDB48 #48DBAF
square
#6548DB #DB4875 #BEDB48 #48DBAF
split-complementary
#6548DB #DBAF48 #75DB48
monochromatic
#321C8D #4426C0 #6548DB #907BE5 #BBAEEF

Accessibility & contrast

On white

5.99
#6548DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6548DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548DB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548DB#FFFFFF#000000##FFFFFF
##6548DB1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#326E8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6548db;
/* rgb */ color: rgb(101, 72, 219);
/* oklch */ color: oklch(52.2% 0.212 285.4);
Tailwind
colors: {
  custom: {
    50: '#9c7de7',
    500: '#6548db',
    950: '#000000',
  },
}
SCSS
$custom: #6548db;
$custom-light: #9c7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6548db",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 251.837,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.21228,
    "h": 285.4
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#6548DB
secondary
#D1DDA2
accent
#EA3EC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6548DB

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

Preview Lab → · Contrast checker → · Palette generator →

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