#4E336B#4E336B

#4E336B is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.096 H 304.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4E336B
RGBrgb(78, 51, 107)
HSLhsl(269, 35%, 31%)
HSVhsv(269, 52%, 42%)
CMYKcmyk(27.1%, 52.3%, 0%, 58%)
CIE-LABlab(26.87, 24.57, -28.25)
CIE-LCHlch(26.87, 37.44, 311.02°)
OKLaboklab(37.97% 0.0544 -0.0792)
OKLCHoklch(37.97% 0.096 304.5)
XYZxyz(6.9790, 5.0489, 14.5139)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E336B #506B33
analogous
#33346B #4E336B #6A336B
triadic
#4E336B #6B4E33 #336B4E
tetradic
#4E336B #6B3334 #506B33 #336B6A
square
#4E336B #6B3334 #506B33 #336B6A
split-complementary
#4E336B #6B6A33 #346B33
monochromatic
#120B18 #301F42 #4E336B #6C4794 #8B64B5

Accessibility & contrast

On white

10.45
#4E336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E336B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E336B#FFFFFF#000000##FFFFFF
##4E336B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6D
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#493D4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e336b;
/* rgb */ color: rgb(78, 51, 107);
/* oklch */ color: oklch(38.0% 0.096 304.5);
Tailwind
colors: {
  custom: {
    50: '#816b96',
    500: '#4e336b',
    950: '#000000',
  },
}
SCSS
$custom: #4e336b;
$custom-light: #816b96;
$custom-dark: #000000;
JSON
{
  "hex": "#4e336b",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 268.929,
    "s": 35.443,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.09614,
    "h": 304.5
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#4E336B
secondary
#7E9C5E
accent
#CB5C96
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E336B

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

Preview Lab → · Contrast checker → · Palette generator →

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