#6E4FC4#6E4FC4

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

Color values

HEX#6E4FC4
RGBrgb(110, 79, 196)
HSLhsl(256, 50%, 54%)
HSVhsv(256, 60%, 77%)
CMYKcmyk(43.9%, 59.7%, 0%, 23.1%)
CIE-LABlab(42.60, 40.73, -56.97)
CIE-LCHlch(42.60, 70.03, 305.56°)
OKLaboklab(52.24% 0.0636 -0.1625)
OKLCHoklch(52.24% 0.175 291.4)
XYZxyz(19.1874, 12.8919, 53.6913)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FC4 #A5C44F
analogous
#4F6BC4 #6E4FC4 #A84FC4
triadic
#6E4FC4 #C46E4F #4FC46E
tetradic
#6E4FC4 #C44F6B #A5C44F #4FC4A8
square
#6E4FC4 #C44F6B #A5C44F #4FC4A8
split-complementary
#6E4FC4 #C4A84F #6BC44F
monochromatic
#3A2672 #5236A0 #6E4FC4 #947DD3 #BAABE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E4FC4#FFFFFF#000000##FFFFFF
##6E4FC41.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)
#0066C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#556982
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e4fc4;
/* rgb */ color: rgb(110, 79, 196);
/* oklch */ color: oklch(52.2% 0.175 291.4);
Tailwind
colors: {
  custom: {
    50: '#9d81d7',
    500: '#6e4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fc4;
$custom-light: #9d81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fc4",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 255.897,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.17454,
    "h": 291.4
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#6E4FC4
secondary
#C3D09E
accent
#D94EB5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6E4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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