#4E346E#4E346E

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

Color values

HEX#4E346E
RGBrgb(78, 52, 110)
HSLhsl(267, 36%, 32%)
HSVhsv(267, 53%, 43%)
CMYKcmyk(29.1%, 52.7%, 0%, 56.9%)
CIE-LABlab(27.30, 24.76, -29.49)
CIE-LCHlch(27.30, 38.50, 310.02°)
OKLaboklab(38.35% 0.0533 -0.0829)
OKLCHoklch(38.35% 0.099 302.7)
XYZxyz(7.1837, 5.2015, 15.3744)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E346E #546E34
analogous
#34376E #4E346E #6B346E
triadic
#4E346E #6E4E34 #346E4E
tetradic
#4E346E #6E3437 #546E34 #346E6B
square
#4E346E #6E3437 #546E34 #346E6B
split-complementary
#4E346E #6E6B34 #376E34
monochromatic
#130D1B #312044 #4E346E #6B4898 #8A66B7

Accessibility & contrast

On white

10.29
#4E346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E346E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E346E#FFFFFF#000000##FFFFFF
##4E346E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#29406D
Tritanopia (blue-blind)
#483F4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e346e;
/* rgb */ color: rgb(78, 52, 110);
/* oklch */ color: oklch(38.4% 0.099 302.7);
Tailwind
colors: {
  custom: {
    50: '#816c98',
    500: '#4e346e',
    950: '#000000',
  },
}
SCSS
$custom: #4e346e;
$custom-light: #816c98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e346e",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 266.897,
    "s": 35.802,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38352,
    "c": 0.0985,
    "h": 302.7
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#4E346E
secondary
#829F5F
accent
#CC5C9A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E346E

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

Preview Lab → · Contrast checker → · Palette generator →

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