#4E346F#4E346F

#4E346F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.4% C 0.100 H 302.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4E346F
RGBrgb(78, 52, 111)
HSLhsl(266, 36%, 32%)
HSVhsv(266, 53%, 44%)
CMYKcmyk(29.7%, 53.2%, 0%, 56.5%)
CIE-LABlab(27.36, 25.03, -30.03)
CIE-LCHlch(27.36, 39.10, 309.81°)
OKLaboklab(38.42% 0.0534 -0.0844)
OKLCHoklch(38.42% 0.1 302.3)
XYZxyz(7.2385, 5.2234, 15.6627)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E346F #556F34
analogous
#34386F #4E346F #6C346F
triadic
#4E346F #6F4E34 #346F4E
tetradic
#4E346F #6F3438 #556F34 #346F6C
square
#4E346F #6F3438 #556F34 #346F6C
split-complementary
#4E346F #6F6C34 #386F34
monochromatic
#130D1C #312045 #4E346F #6B4899 #8A66B7

Accessibility & contrast

On white

10.27
#4E346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E346F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E346F#FFFFFF#000000##FFFFFF
##4E346F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#28406E
Tritanopia (blue-blind)
#483F4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e346f;
/* rgb */ color: rgb(78, 52, 111);
/* oklch */ color: oklch(38.4% 0.100 302.3);
Tailwind
colors: {
  custom: {
    50: '#816c99',
    500: '#4e346f',
    950: '#000000',
  },
}
SCSS
$custom: #4e346f;
$custom-light: #816c99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e346f",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 266.441,
    "s": 36.196,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.0999,
    "h": 302.3
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#4E346F
secondary
#83A05F
accent
#CC5C9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E346F

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

Preview Lab → · Contrast checker → · Palette generator →

#4E346F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva