#6E4FA8#6E4FA8

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

Color values

HEX#6E4FA8
RGBrgb(110, 79, 168)
HSLhsl(261, 36%, 48%)
HSVhsv(261, 53%, 66%)
CMYKcmyk(34.5%, 53%, 0%, 34.1%)
CIE-LABlab(40.79, 32.96, -43.44)
CIE-LCHlch(40.79, 54.54, 307.19°)
OKLaboklab(50.32% 0.0633 -0.1228)
OKLCHoklch(50.32% 0.138 297.3)
XYZxyz(16.2925, 11.7339, 38.4447)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA8 #89A84F
analogous
#4F5CA8 #6E4FA8 #9A4FA8
triadic
#6E4FA8 #A86E4F #4FA86E
tetradic
#6E4FA8 #A84F5C #89A84F #4FA89A
square
#6E4FA8 #A84F5C #89A84F #4FA89A
split-complementary
#6E4FA8 #A89A4F #5CA84F
monochromatic
#372855 #533B7E #6E4FA8 #8F76BE #B19FD2

Accessibility & contrast

On white

6.27
#6E4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6E4FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA8#FFFFFF#000000##FFFFFF
##6E4FA81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#616174
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4fa8;
/* rgb */ color: rgb(110, 79, 168);
/* oklch */ color: oklch(50.3% 0.138 297.3);
Tailwind
colors: {
  custom: {
    50: '#9b81c2',
    500: '#6e4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa8;
$custom-light: #9b81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa8",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 260.899,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.13813,
    "h": 297.3
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#6E4FA8
secondary
#B0BF94
accent
#CC5CA5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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