#6548BF#6548BF

#6548BF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.178 H 289.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6548BF
RGBrgb(101, 72, 191)
HSLhsl(255, 48%, 52%)
HSVhsv(255, 62%, 75%)
CMYKcmyk(47.1%, 62.3%, 0%, 25.1%)
CIE-LABlab(39.85, 41.44, -58.55)
CIE-LCHlch(39.85, 71.73, 305.29°)
OKLaboklab(49.91% 0.0596 -0.1675)
OKLCHoklch(49.91% 0.178 289.6)
XYZxyz(17.0855, 11.1624, 50.5344)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548BF #A2BF48
analogous
#4867BF #6548BF #A148BF
triadic
#6548BF #BF6548 #48BF65
tetradic
#6548BF #BF4867 #A2BF48 #48BFA1
square
#6548BF #BF4867 #A2BF48 #48BFA1
split-complementary
#6548BF #BFA148 #67BF48
monochromatic
#352468 #4C3496 #6548BF #8B75CF #B1A3DF

Accessibility & contrast

On white

6.50
#6548BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6548BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548BF#FFFFFF#000000##FFFFFF
##6548BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#48647D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6548bf;
/* rgb */ color: rgb(101, 72, 191);
/* oklch */ color: oklch(49.9% 0.178 289.6);
Tailwind
colors: {
  custom: {
    50: '#987cd3',
    500: '#6548bf',
    950: '#000000',
  },
}
SCSS
$custom: #6548bf;
$custom-light: #987cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6548bf",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 254.622,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4991,
    "c": 0.17775,
    "h": 289.6
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#6548BF
secondary
#BFCC97
accent
#D850B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6548BF

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

Preview Lab → · Contrast checker → · Palette generator →

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