#6E4F97#6E4F97

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

Color values

HEX#6E4F97
RGBrgb(110, 79, 151)
HSLhsl(266, 31%, 45%)
HSVhsv(266, 48%, 59%)
CMYKcmyk(27.2%, 47.7%, 0%, 40.8%)
CIE-LABlab(39.82, 28.47, -34.83)
CIE-LCHlch(39.82, 44.98, 309.26°)
OKLaboklab(49.28% 0.0615 -0.0976)
OKLCHoklch(49.28% 0.115 302.2)
XYZxyz(14.8111, 11.1413, 30.6424)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4F97 #78974F
analogous
#4F5497 #6E4F97 #924F97
triadic
#6E4F97 #976E4F #4F976E
tetradic
#6E4F97 #974F54 #78974F #4F9792
square
#6E4F97 #974F54 #78974F #4F9792
split-complementary
#6E4F97 #97924F #54974F
monochromatic
#332547 #513A6F #6E4F97 #8D6FB4 #AD98C9

Accessibility & contrast

On white

6.51
#6E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6E4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4F97
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4F97#FFFFFF#000000##FFFFFF
##6E4F971.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#425E95
Tritanopia (blue-blind)
#675C6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e4f97;
/* rgb */ color: rgb(110, 79, 151);
/* oklch */ color: oklch(49.3% 0.115 302.2);
Tailwind
colors: {
  custom: {
    50: '#9981b6',
    500: '#6e4f97',
    950: '#000000',
  },
}
SCSS
$custom: #6e4f97;
$custom-light: #9981b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4f97",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 265.833,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.11538,
    "h": 302.2
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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