#6F4E87#6F4E87

#6F4E87 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.3% C 0.096 H 309.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6F4E87
RGBrgb(111, 78, 135)
HSLhsl(275, 27%, 42%)
HSVhsv(275, 42%, 53%)
CMYKcmyk(17.8%, 42.2%, 0%, 47.1%)
CIE-LABlab(38.86, 25.39, -26.63)
CIE-LCHlch(38.86, 36.79, 313.64°)
OKLaboklab(48.32% 0.0616 -0.0738)
OKLCHoklch(48.32% 0.096 309.8)
XYZxyz(13.6523, 10.5777, 24.2395)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4E87 #66874E
analogous
#534E87 #6F4E87 #874E83
triadic
#6F4E87 #876F4E #4E876F
tetradic
#6F4E87 #87534E #66874E #4E8387
square
#6F4E87 #87534E #66874E #4E8387
split-complementary
#6F4E87 #83874E #4E8753
monochromatic
#2F2139 #4F3860 #6F4E87 #8E6AA9 #AB90BF

Accessibility & contrast

On white

6.74
#6F4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F4E87
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4E87#FFFFFF#000000##FFFFFF
##6F4E871.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#6C5764
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f4e87;
/* rgb */ color: rgb(111, 78, 135);
/* oklch */ color: oklch(48.3% 0.096 309.8);
Tailwind
colors: {
  custom: {
    50: '#9980aa',
    500: '#6f4e87',
    950: '#000000',
  },
}
SCSS
$custom: #6f4e87;
$custom-light: #9980aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4e87",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 274.737,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.09612,
    "h": 309.8
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#6F4E87
secondary
#95AC85
accent
#C3658C
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #6F4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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