#4E336D#4E336D

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

Color values

HEX#4E336D
RGBrgb(78, 51, 109)
HSLhsl(268, 36%, 31%)
HSVhsv(268, 53%, 43%)
CMYKcmyk(28.4%, 53.2%, 0%, 57.3%)
CIE-LABlab(26.99, 25.11, -29.34)
CIE-LCHlch(26.99, 38.62, 310.56°)
OKLaboklab(38.1% 0.0547 -0.0824)
OKLCHoklch(38.1% 0.099 303.6)
XYZxyz(7.0854, 5.0915, 15.0745)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E336D #526D33
analogous
#33356D #4E336D #6B336D
triadic
#4E336D #6D4E33 #336D4E
tetradic
#4E336D #6D3335 #526D33 #336D6B
square
#4E336D #6D3335 #526D33 #336D6B
split-complementary
#4E336D #6D6B33 #356D33
monochromatic
#120C1A #301F43 #4E336D #6C4797 #8A64B6

Accessibility & contrast

On white

10.41
#4E336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E336D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E336D#FFFFFF#000000##FFFFFF
##4E336D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#28406C
Tritanopia (blue-blind)
#493D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e336d;
/* rgb */ color: rgb(78, 51, 109);
/* oklch */ color: oklch(38.1% 0.099 303.6);
Tailwind
colors: {
  custom: {
    50: '#816b97',
    500: '#4e336d',
    950: '#000000',
  },
}
SCSS
$custom: #4e336d;
$custom-light: #816b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e336d",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 267.931,
    "s": 36.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.0989,
    "h": 303.6
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#4E336D
secondary
#809E5E
accent
#CC5C98
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E336D

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

Preview Lab → · Contrast checker → · Palette generator →

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