#6E4FA7#6E4FA7

#6E4FA7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.137 H 297.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6E4FA7
RGBrgb(110, 79, 167)
HSLhsl(261, 36%, 48%)
HSVhsv(261, 53%, 65%)
CMYKcmyk(34.1%, 52.7%, 0%, 34.5%)
CIE-LABlab(40.73, 32.69, -42.95)
CIE-LCHlch(40.73, 53.98, 307.28°)
OKLaboklab(50.26% 0.0632 -0.1213)
OKLCHoklch(50.26% 0.137 297.5)
XYZxyz(16.1997, 11.6968, 37.9559)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA7 #88A74F
analogous
#4F5CA7 #6E4FA7 #9A4FA7
triadic
#6E4FA7 #A76E4F #4FA76E
tetradic
#6E4FA7 #A74F5C #88A74F #4FA79A
square
#6E4FA7 #A74F5C #88A74F #4FA79A
split-complementary
#6E4FA7 #A79A4F #5CA74F
monochromatic
#372854 #533B7D #6E4FA7 #8F75BE #B19FD2

Accessibility & contrast

On white

6.29
#6E4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6E4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA7#FFFFFF#000000##FFFFFF
##6E4FA71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#616073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4fa7;
/* rgb */ color: rgb(110, 79, 167);
/* oklch */ color: oklch(50.3% 0.137 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b81c2',
    500: '#6e4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa7;
$custom-light: #9b81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa7",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 261.136,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.1368,
    "h": 297.5
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#6E4FA7
secondary
#AFBE93
accent
#CC5CA4
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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