#4E346A#4E346A

#4E346A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.093 H 304.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4E346A
RGBrgb(78, 52, 106)
HSLhsl(269, 34%, 31%)
HSVhsv(269, 51%, 42%)
CMYKcmyk(26.4%, 50.9%, 0%, 58.4%)
CIE-LABlab(27.06, 23.67, -27.30)
CIE-LCHlch(27.06, 36.14, 310.93°)
OKLaboklab(38.1% 0.0528 -0.0765)
OKLCHoklch(38.1% 0.093 304.6)
XYZxyz(6.9708, 5.1163, 14.2532)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E346A #506A34
analogous
#34356A #4E346A #69346A
triadic
#4E346A #6A4E34 #346A4E
tetradic
#4E346A #6A3435 #506A34 #346A69
square
#4E346A #6A3435 #506A34 #346A69
split-complementary
#4E346A #6A6934 #356A34
monochromatic
#120C18 #302041 #4E346A #6C4893 #8B65B3

Accessibility & contrast

On white

10.38
#4E346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E346A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E346A#FFFFFF#000000##FFFFFF
##4E346A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#493D4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e346a;
/* rgb */ color: rgb(78, 52, 106);
/* oklch */ color: oklch(38.1% 0.093 304.6);
Tailwind
colors: {
  custom: {
    50: '#816c95',
    500: '#4e346a',
    950: '#000000',
  },
}
SCSS
$custom: #4e346a;
$custom-light: #816c95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e346a",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 268.889,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.09293,
    "h": 304.6
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#4E346A
secondary
#7E9B5F
accent
#CA5E96
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E346A

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

Preview Lab → · Contrast checker → · Palette generator →

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