#6F4D97#6F4D97

#6F4D97 is a mid, moderate violet. Relative luminance 0.109; OKLCH L 49.0% C 0.119 H 303.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6F4D97
RGBrgb(111, 77, 151)
HSLhsl(268, 32%, 45%)
HSVhsv(268, 49%, 59%)
CMYKcmyk(26.5%, 49%, 0%, 40.8%)
CIE-LABlab(39.45, 29.96, -35.40)
CIE-LCHlch(39.45, 46.38, 310.24°)
OKLaboklab(49.03% 0.0658 -0.0992)
OKLCHoklch(49.03% 0.119 303.5)
XYZxyz(14.7941, 10.9217, 30.6009)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4D97 #75974D
analogous
#4D5097 #6F4D97 #944D97
triadic
#6F4D97 #976F4D #4D976F
tetradic
#6F4D97 #974D50 #75974D #4D9794
square
#6F4D97 #974D50 #75974D #4D9794
split-complementary
#6F4D97 #97944D #50974D
monochromatic
#332446 #51386E #6F4D97 #8E6DB4 #AD95C9

Accessibility & contrast

On white

6.59
#6F4D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6F4D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4D97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4D97#FFFFFF#000000##FFFFFF
##6F4D971.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#685A6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f4d97;
/* rgb */ color: rgb(111, 77, 151);
/* oklch */ color: oklch(49.0% 0.119 303.5);
Tailwind
colors: {
  custom: {
    50: '#9a7fb6',
    500: '#6f4d97',
    950: '#000000',
  },
}
SCSS
$custom: #6f4d97;
$custom-light: #9a7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4d97",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 267.568,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.11905,
    "h": 303.5
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#6F4D97
secondary
#A2B68A
accent
#C95F98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6F4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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