#6E4EC2#6E4EC2

#6E4EC2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.173 H 292.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6E4EC2
RGBrgb(110, 78, 194)
HSLhsl(257, 49%, 53%)
HSVhsv(257, 60%, 76%)
CMYKcmyk(43.3%, 59.8%, 0%, 23.9%)
CIE-LABlab(42.24, 40.74, -56.39)
CIE-LCHlch(42.24, 69.56, 305.85°)
OKLaboklab(51.93% 0.0648 -0.1608)
OKLCHoklch(51.93% 0.173 292)
XYZxyz(18.8897, 12.6582, 52.4765)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EC2 #A2C24E
analogous
#4E68C2 #6E4EC2 #A84EC2
triadic
#6E4EC2 #C26E4E #4EC26E
tetradic
#6E4EC2 #C24E68 #A2C24E #4EC2A8
square
#6E4EC2 #C24E68 #A2C24E #4EC2A8
split-complementary
#6E4EC2 #C2A84E #68C24E
monochromatic
#3A266F #52369D #6E4EC2 #937CD2 #B9A9E1

Accessibility & contrast

On white

5.95
#6E4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6E4EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EC2#FFFFFF#000000##FFFFFF
##6E4EC21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#566880
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e4ec2;
/* rgb */ color: rgb(110, 78, 194);
/* oklch */ color: oklch(51.9% 0.173 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d81d5',
    500: '#6e4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ec2;
$custom-light: #9d81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ec2",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 256.552,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.17338,
    "h": 292
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#6E4EC2
secondary
#C1CF9D
accent
#D850B3
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6E4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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