#6548CD#6548CD

#6548CD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.195 H 287.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6548CD
RGBrgb(101, 72, 205)
HSLhsl(253, 57%, 54%)
HSVhsv(253, 65%, 80%)
CMYKcmyk(50.7%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.91, 45.51, -64.97)
CIE-LCHlch(40.91, 79.32, 305.01°)
OKLaboklab(51.01% 0.0583 -0.1863)
OKLCHoklch(51.01% 0.195 287.4)
XYZxyz(18.7004, 11.8083, 59.0397)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548CD #B0CD48
analogous
#486DCD #6548CD #A848CD
triadic
#6548CD #CD6548 #48CD65
tetradic
#6548CD #CD486D #B0CD48 #48CDA8
square
#6548CD #CD486D #B0CD48 #48CDA8
split-complementary
#6548CD #CDA848 #6DCD48
monochromatic
#342179 #492EA9 #6548CD #8D78DA #B6A8E7

Accessibility & contrast

On white

6.25
#6548CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6548CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548CD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548CD#FFFFFF#000000##FFFFFF
##6548CD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#3F6984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6548cd;
/* rgb */ color: rgb(101, 72, 205);
/* oklch */ color: oklch(51.0% 0.195 287.4);
Tailwind
colors: {
  custom: {
    50: '#9a7ddd',
    500: '#6548cd',
    950: '#000000',
  },
}
SCSS
$custom: #6548cd;
$custom-light: #9a7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6548cd",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 253.083,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.19523,
    "h": 287.4
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#6548CD
secondary
#C8D59C
accent
#E047BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6548CD

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

Preview Lab → · Contrast checker → · Palette generator →

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