#4E346D#4E346D

#4E346D is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.097 H 303.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4E346D
RGBrgb(78, 52, 109)
HSLhsl(267, 35%, 32%)
HSVhsv(267, 52%, 43%)
CMYKcmyk(28.4%, 52.3%, 0%, 57.3%)
CIE-LABlab(27.24, 24.49, -28.94)
CIE-LCHlch(27.24, 37.91, 310.23°)
OKLaboklab(38.29% 0.0531 -0.0813)
OKLCHoklch(38.29% 0.097 303.2)
XYZxyz(7.1296, 5.1798, 15.0892)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E346D #536D34
analogous
#34376D #4E346D #6B346D
triadic
#4E346D #6D4E34 #346D4E
tetradic
#4E346D #6D3437 #536D34 #346D6B
square
#4E346D #6D3437 #536D34 #346D6B
split-complementary
#4E346D #6D6B34 #376D34
monochromatic
#130C1A #302044 #4E346D #6C4896 #8A66B6

Accessibility & contrast

On white

10.31
#4E346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E346D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E346D#FFFFFF#000000##FFFFFF
##4E346D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#2A406C
Tritanopia (blue-blind)
#483E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e346d;
/* rgb */ color: rgb(78, 52, 109);
/* oklch */ color: oklch(38.3% 0.097 303.2);
Tailwind
colors: {
  custom: {
    50: '#816c97',
    500: '#4e346d',
    950: '#000000',
  },
}
SCSS
$custom: #4e346d;
$custom-light: #816c97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e346d",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 267.368,
    "s": 35.404,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.09711,
    "h": 303.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#4E346D
secondary
#819E5F
accent
#CB5C99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E346D

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

Preview Lab → · Contrast checker → · Palette generator →

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