#6E4EAF#6E4EAF

#6E4EAF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.149 H 295.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6E4EAF
RGBrgb(110, 78, 175)
HSLhsl(260, 38%, 50%)
HSVhsv(260, 55%, 69%)
CMYKcmyk(37.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.99, 35.46, -47.27)
CIE-LCHlch(40.99, 59.09, 306.88°)
OKLaboklab(50.61% 0.0649 -0.134)
OKLCHoklch(50.61% 0.149 295.8)
XYZxyz(16.8907, 11.8586, 41.9482)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EAF #8FAF4E
analogous
#4E5EAF #6E4EAF #9F4EAF
triadic
#6E4EAF #AF6E4E #4EAF6E
tetradic
#6E4EAF #AF4E5E #8FAF4E #4EAF9F
square
#6E4EAF #AF4E5E #8FAF4E #4EAF9F
split-complementary
#6E4EAF #AF9F4E #5EAF4E
monochromatic
#39285A #533B85 #6E4EAF #9078C3 #B3A2D6

Accessibility & contrast

On white

6.23
#6E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6E4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EAF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EAF#FFFFFF#000000##FFFFFF
##6E4EAF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#5F6277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e4eaf;
/* rgb */ color: rgb(110, 78, 175);
/* oklch */ color: oklch(50.6% 0.149 295.8);
Tailwind
colors: {
  custom: {
    50: '#9b80c7',
    500: '#6e4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6e4eaf;
$custom-light: #9b80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4eaf",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 259.794,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.1489,
    "h": 295.8
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#6E4EAF
secondary
#B4C396
accent
#CE5AA8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6E4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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