#6548A2#6548A2

#6548A2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.8% C 0.140 H 295.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6548A2
RGBrgb(101, 72, 162)
HSLhsl(259, 38%, 46%)
HSVhsv(259, 56%, 64%)
CMYKcmyk(37.7%, 55.6%, 0%, 36.5%)
CIE-LABlab(37.86, 33.18, -44.61)
CIE-LCHlch(37.86, 55.60, 306.64°)
OKLaboklab(47.81% 0.0603 -0.1265)
OKLCHoklch(47.81% 0.14 295.5)
XYZxyz(14.2041, 10.0098, 35.3591)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548A2 #85A248
analogous
#4858A2 #6548A2 #9248A2
triadic
#6548A2 #A26548 #48A265
tetradic
#6548A2 #A24858 #85A248 #48A292
square
#6548A2 #A24858 #85A248 #48A292
split-complementary
#6548A2 #A29248 #58A248
monochromatic
#30224D #4B3578 #6548A2 #856ABD #A895D0

Accessibility & contrast

On white

7.00
#6548A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6548A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548A2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548A2#FFFFFF#000000##FFFFFF
##6548A21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#565B6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6548a2;
/* rgb */ color: rgb(101, 72, 162);
/* oklch */ color: oklch(47.8% 0.140 295.5);
Tailwind
colors: {
  custom: {
    50: '#957cbe',
    500: '#6548a2',
    950: '#000000',
  },
}
SCSS
$custom: #6548a2;
$custom-light: #957cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6548a2",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 259.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.14009,
    "h": 295.5
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#6548A2
secondary
#ACBC8A
accent
#CE59A9
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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