#6E4CAF#6E4CAF

#6E4CAF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.152 H 296.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6E4CAF
RGBrgb(110, 76, 175)
HSLhsl(261, 39%, 49%)
HSVhsv(261, 57%, 69%)
CMYKcmyk(37.1%, 56.6%, 0%, 31.4%)
CIE-LABlab(40.54, 36.63, -47.99)
CIE-LCHlch(40.54, 60.37, 307.35°)
OKLaboklab(50.28% 0.0675 -0.1361)
OKLCHoklch(50.28% 0.152 296.4)
XYZxyz(16.7507, 11.5787, 41.9015)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4CAF #8DAF4C
analogous
#4C5CAF #6E4CAF #A04CAF
triadic
#6E4CAF #AF6E4C #4CAF6E
tetradic
#6E4CAF #AF4C5C #8DAF4C #4CAFA0
square
#6E4CAF #AF4C5C #8DAF4C #4CAFA0
split-complementary
#6E4CAF #AFA04C #5CAF4C
monochromatic
#38275A #533984 #6E4CAF #9075C3 #B2A0D6

Accessibility & contrast

On white

6.33
#6E4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6E4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4CAF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4CAF#FFFFFF#000000##FFFFFF
##6E4CAF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#295EAD
Tritanopia (blue-blind)
#5F6176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4caf;
/* rgb */ color: rgb(110, 76, 175);
/* oklch */ color: oklch(50.3% 0.152 296.4);
Tailwind
colors: {
  custom: {
    50: '#9b7fc7',
    500: '#6e4caf',
    950: '#000000',
  },
}
SCSS
$custom: #6e4caf;
$custom-light: #9b7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4caf",
  "rgb": {
    "r": 110,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 260.606,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.15193,
    "h": 296.4
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#6E4CAF
secondary
#B3C294
accent
#CF58A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6E4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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