#4E336A#4E336A

#4E336A is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.9% C 0.095 H 305.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4E336A
RGBrgb(78, 51, 106)
HSLhsl(269, 35%, 31%)
HSVhsv(269, 52%, 42%)
CMYKcmyk(26.4%, 51.9%, 0%, 58.4%)
CIE-LABlab(26.81, 24.30, -27.70)
CIE-LCHlch(26.81, 36.85, 311.27°)
OKLaboklab(37.91% 0.0543 -0.0776)
OKLCHoklch(37.91% 0.095 305)
XYZxyz(6.9267, 5.0280, 14.2385)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E336A #4F6A33
analogous
#33336A #4E336A #69336A
triadic
#4E336A #6A4E33 #336A4E
tetradic
#4E336A #6A3333 #4F6A33 #336A69
square
#4E336A #6A3333 #4F6A33 #336A69
split-complementary
#4E336A #6A6933 #336A33
monochromatic
#110B17 #301F41 #4E336A #6C4793 #8B63B4

Accessibility & contrast

On white

10.47
#4E336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E336A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E336A#FFFFFF#000000##FFFFFF
##4E336A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#2A3F69
Tritanopia (blue-blind)
#493D49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e336a;
/* rgb */ color: rgb(78, 51, 106);
/* oklch */ color: oklch(37.9% 0.095 305.0);
Tailwind
colors: {
  custom: {
    50: '#816b95',
    500: '#4e336a',
    950: '#000000',
  },
}
SCSS
$custom: #4e336a;
$custom-light: #816b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e336a",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 269.455,
    "s": 35.032,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.09476,
    "h": 305
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#4E336A
secondary
#7D9B5E
accent
#CB5D95
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E336A

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

Preview Lab → · Contrast checker → · Palette generator →

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