#6C548B#6C548B

#6C548B is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.3% C 0.090 H 303.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6C548B
RGBrgb(108, 84, 139)
HSLhsl(266, 25%, 44%)
HSVhsv(266, 40%, 55%)
CMYKcmyk(22.3%, 39.6%, 0%, 45.5%)
CIE-LABlab(40.23, 21.76, -26.94)
CIE-LCHlch(40.23, 34.62, 308.93°)
OKLaboklab(49.35% 0.0493 -0.0748)
OKLCHoklch(49.35% 0.09 303.4)
XYZxyz(14.0139, 11.3929, 25.8819)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C548B #738B54
analogous
#54578B #6C548B #87548B
triadic
#6C548B #8B6C54 #548B6C
tetradic
#6C548B #8B5457 #738B54 #548B87
square
#6C548B #8B5457 #738B54 #548B87
split-complementary
#6C548B #8B8754 #578B54
monochromatic
#31263F #4E3D65 #6C548B #8B72AA #AA98C1

Accessibility & contrast

On white

6.41
#6C548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6C548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C548B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C548B#FFFFFF#000000##FFFFFF
##6C548B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#675D69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c548b;
/* rgb */ color: rgb(108, 84, 139);
/* oklch */ color: oklch(49.3% 0.090 303.4);
Tailwind
colors: {
  custom: {
    50: '#9784ad',
    500: '#6c548b',
    950: '#000000',
  },
}
SCSS
$custom: #6c548b;
$custom-light: #9784ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c548b",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 266.182,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.08955,
    "h": 303.4
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#6C548B
secondary
#A0AE8D
accent
#C1679A
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0D0B10
muted
#7E7C7F

Preview Lab

Preview with #6C548B

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

Preview Lab → · Contrast checker → · Palette generator →

#6C548B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva