#6F5178#6F5178

#6F5178 is a mid, moderate purple. Relative luminance 0.106; OKLCH L 48.2% C 0.071 H 318.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6F5178
RGBrgb(111, 81, 120)
HSLhsl(286, 19%, 39%)
HSVhsv(286, 33%, 47%)
CMYKcmyk(7.5%, 32.5%, 0%, 52.9%)
CIE-LABlab(38.93, 20.09, -17.32)
CIE-LCHlch(38.93, 26.52, 319.24°)
OKLaboklab(48.15% 0.053 -0.0472)
OKLCHoklch(48.15% 0.071 318.3)
XYZxyz(12.8877, 10.6207, 19.1368)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5178 #5A7851
analogous
#5C5178 #6F5178 #78516E
triadic
#6F5178 #786F51 #51786F
tetradic
#6F5178 #785C51 #5A7851 #516E78
square
#6F5178 #785C51 #5A7851 #516E78
split-complementary
#6F5178 #6E7851 #51785C
monochromatic
#2B202F #4D3853 #6F5178 #906B9B #AB90B4

Accessibility & contrast

On white

6.72
#6F5178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6F5178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5178
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5178#FFFFFF#000000##FFFFFF
##6F51781.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#6F555F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f5178;
/* rgb */ color: rgb(111, 81, 120);
/* oklch */ color: oklch(48.2% 0.071 318.3);
Tailwind
colors: {
  custom: {
    50: '#99829f',
    500: '#6f5178',
    950: '#000000',
  },
}
SCSS
$custom: #6f5178;
$custom-light: #99829f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5178",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 286.154,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.07096,
    "h": 318.3
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#6F5178
secondary
#8AA184
accent
#BC6C7E
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #6F5178

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

Preview Lab → · Contrast checker → · Palette generator →

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