#6C548E#6C548E

#6C548E is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.5% C 0.094 H 302.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6C548E
RGBrgb(108, 84, 142)
HSLhsl(265, 26%, 44%)
HSVhsv(265, 41%, 56%)
CMYKcmyk(23.9%, 40.8%, 0%, 44.3%)
CIE-LABlab(40.38, 22.52, -28.52)
CIE-LCHlch(40.38, 36.34, 308.29°)
OKLaboklab(49.51% 0.0499 -0.0794)
OKLCHoklch(49.51% 0.094 302.2)
XYZxyz(14.2361, 11.4818, 27.0522)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C548E #768E54
analogous
#54598E #6C548E #89548E
triadic
#6C548E #8E6C54 #548E6C
tetradic
#6C548E #8E5459 #768E54 #548E89
square
#6C548E #8E5459 #768E54 #548E89
split-complementary
#6C548E #8E8954 #598E54
monochromatic
#322741 #4F3D68 #6C548E #8B73AC #AB99C3

Accessibility & contrast

On white

6.37
#6C548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6C548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C548E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C548E#FFFFFF#000000##FFFFFF
##6C548E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#665D6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c548e;
/* rgb */ color: rgb(108, 84, 142);
/* oklch */ color: oklch(49.5% 0.094 302.2);
Tailwind
colors: {
  custom: {
    50: '#9784af',
    500: '#6c548e',
    950: '#000000',
  },
}
SCSS
$custom: #6c548e;
$custom-light: #9784af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c548e",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 264.828,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.09376,
    "h": 302.2
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#6C548E
secondary
#A2B08E
accent
#C2669C
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0E0B10
muted
#7E7C7F

Preview Lab

Preview with #6C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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