#6D4F97#6D4F97

#6D4F97 is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.2% C 0.115 H 301.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6D4F97
RGBrgb(109, 79, 151)
HSLhsl(265, 31%, 45%)
HSVhsv(265, 48%, 59%)
CMYKcmyk(27.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(39.71, 28.18, -35.00)
CIE-LCHlch(39.71, 44.94, 308.83°)
OKLaboklab(49.18% 0.0602 -0.0981)
OKLCHoklch(49.18% 0.115 301.5)
XYZxyz(14.6873, 11.0775, 30.6366)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4F97 #79974F
analogous
#4F5597 #6D4F97 #914F97
triadic
#6D4F97 #976D4F #4F976D
tetradic
#6D4F97 #974F55 #79974F #4F9791
square
#6D4F97 #974F55 #79974F #4F9791
split-complementary
#6D4F97 #97914F #55974F
monochromatic
#332547 #503A6F #6D4F97 #8C6FB4 #AC98C9

Accessibility & contrast

On white

6.53
#6D4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6D4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4F97
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4F97#FFFFFF#000000##FFFFFF
##6D4F971.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#655C6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d4f97;
/* rgb */ color: rgb(109, 79, 151);
/* oklch */ color: oklch(49.2% 0.115 301.5);
Tailwind
colors: {
  custom: {
    50: '#9981b6',
    500: '#6d4f97',
    950: '#000000',
  },
}
SCSS
$custom: #6d4f97;
$custom-light: #9981b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4f97",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 265,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.11515,
    "h": 301.5
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#6D4F97
secondary
#A4B68C
accent
#C7609C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6D4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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