#6E4FA3#6E4FA3

#6E4FA3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.0% C 0.131 H 298.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6E4FA3
RGBrgb(110, 79, 163)
HSLhsl(262, 35%, 47%)
HSVhsv(262, 52%, 64%)
CMYKcmyk(32.5%, 51.5%, 0%, 36.1%)
CIE-LABlab(40.49, 31.62, -40.94)
CIE-LCHlch(40.49, 51.73, 307.68°)
OKLaboklab(50.01% 0.0629 -0.1155)
OKLCHoklch(50.01% 0.131 298.6)
XYZxyz(15.8357, 11.5512, 36.0385)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA3 #84A34F
analogous
#4F5AA3 #6E4FA3 #984FA3
triadic
#6E4FA3 #A36E4F #4FA36E
tetradic
#6E4FA3 #A34F5A #84A34F #4FA398
square
#6E4FA3 #A34F5A #84A34F #4FA398
split-complementary
#6E4FA3 #A3984F #5AA34F
monochromatic
#362751 #523B7A #6E4FA3 #8E74BB #B09DCF

Accessibility & contrast

On white

6.34
#6E4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6E4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA3#FFFFFF#000000##FFFFFF
##6E4FA31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#635F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e4fa3;
/* rgb */ color: rgb(110, 79, 163);
/* oklch */ color: oklch(50.0% 0.131 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a81bf',
    500: '#6e4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa3;
$custom-light: #9a81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa3",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 262.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.13148,
    "h": 298.6
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#6E4FA3
secondary
#ADBC91
accent
#CB5DA2
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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