#6E4EBC#6E4EBC

#6E4EBC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.166 H 293.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6E4EBC
RGBrgb(110, 78, 188)
HSLhsl(257, 45%, 52%)
HSVhsv(257, 59%, 74%)
CMYKcmyk(41.5%, 58.5%, 0%, 26.3%)
CIE-LABlab(41.84, 39.05, -53.55)
CIE-LCHlch(41.84, 66.28, 306.11°)
OKLaboklab(51.5% 0.065 -0.1524)
OKLCHoklch(51.5% 0.166 293.1)
XYZxyz(18.2295, 12.3941, 48.9990)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EBC #9CBC4E
analogous
#4E65BC #6E4EBC #A54EBC
triadic
#6E4EBC #BC6E4E #4EBC6E
tetradic
#6E4EBC #BC4E65 #9CBC4E #4EBCA5
square
#6E4EBC #BC4E65 #9CBC4E #4EBCA5
split-complementary
#6E4EBC #BCA54E #65BC4E
monochromatic
#3A2768 #533895 #6E4EBC #927ACD #B7A7DE

Accessibility & contrast

On white

6.04
#6E4EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6E4EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EBC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EBC#FFFFFF#000000##FFFFFF
##6E4EBC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#59667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e4ebc;
/* rgb */ color: rgb(110, 78, 188);
/* oklch */ color: oklch(51.5% 0.166 293.1);
Tailwind
colors: {
  custom: {
    50: '#9d81d1',
    500: '#6e4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ebc;
$custom-light: #9d81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ebc",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 257.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.16573,
    "h": 293.1
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#6E4EBC
secondary
#BDCB9B
accent
#D553AF
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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