#4E346B#4E346B

#4E346B is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.094 H 304.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4E346B
RGBrgb(78, 52, 107)
HSLhsl(268, 35%, 31%)
HSVhsv(268, 51%, 42%)
CMYKcmyk(27.1%, 51.4%, 0%, 58%)
CIE-LABlab(27.12, 23.94, -27.85)
CIE-LCHlch(27.12, 36.73, 310.68°)
OKLaboklab(38.16% 0.0529 -0.0781)
OKLCHoklch(38.16% 0.094 304.1)
XYZxyz(7.0231, 5.1372, 14.5287)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E346B #516B34
analogous
#34356B #4E346B #69346B
triadic
#4E346B #6B4E34 #346B4E
tetradic
#4E346B #6B3435 #516B34 #346B69
square
#4E346B #6B3435 #516B34 #346B69
split-complementary
#4E346B #6B6934 #356B34
monochromatic
#120C19 #302042 #4E346B #6C4894 #8B65B4

Accessibility & contrast

On white

10.36
#4E346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E346B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E346B#FFFFFF#000000##FFFFFF
##4E346B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#2B406A
Tritanopia (blue-blind)
#493E4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e346b;
/* rgb */ color: rgb(78, 52, 107);
/* oklch */ color: oklch(38.2% 0.094 304.1);
Tailwind
colors: {
  custom: {
    50: '#816c95',
    500: '#4e346b',
    950: '#000000',
  },
}
SCSS
$custom: #4e346b;
$custom-light: #816c95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e346b",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 268.364,
    "s": 34.591,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3816,
    "c": 0.09432,
    "h": 304.1
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#4E346B
secondary
#7F9C5F
accent
#CB5D97
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E346B

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

Preview Lab → · Contrast checker → · Palette generator →

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