#6E4DCA#6E4DCA

#6E4DCA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.185 H 290.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6E4DCA
RGBrgb(110, 77, 202)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 62%, 79%)
CMYKcmyk(45.5%, 61.9%, 0%, 20.8%)
CIE-LABlab(42.59, 43.56, -60.46)
CIE-LCHlch(42.59, 74.52, 305.77°)
OKLaboklab(52.36% 0.0655 -0.1728)
OKLCHoklch(52.36% 0.185 290.8)
XYZxyz(19.7420, 12.8863, 57.3128)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4DCA #A9CA4D
analogous
#4D6BCA #6E4DCA #AD4DCA
triadic
#6E4DCA #CA6E4D #4DCA6E
tetradic
#6E4DCA #CA4D6B #A9CA4D #4DCAAD
square
#6E4DCA #CA4D6B #A9CA4D #4DCAAD
split-complementary
#6E4DCA #CAAD4D #6BCA4D
monochromatic
#3A2479 #5132A8 #6E4DCA #947CD8 #BBABE6

Accessibility & contrast

On white

5.87
#6E4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4DCA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4DCA#FFFFFF#000000##FFFFFF
##6E4DCA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#526A84
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e4dca;
/* rgb */ color: rgb(110, 77, 202);
/* oklch */ color: oklch(52.4% 0.185 290.8);
Tailwind
colors: {
  custom: {
    50: '#9e80db',
    500: '#6e4dca',
    950: '#000000',
  },
}
SCSS
$custom: #6e4dca;
$custom-light: #9e80db;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4dca",
  "rgb": {
    "r": 110,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 255.84,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.1848,
    "h": 290.8
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#6E4DCA
secondary
#C6D49F
accent
#DD4AB7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6E4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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