#4E337F#4E337F

#4E337F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.3% C 0.124 H 296.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4E337F
RGBrgb(78, 51, 127)
HSLhsl(261, 43%, 35%)
HSVhsv(261, 60%, 50%)
CMYKcmyk(38.6%, 59.8%, 0%, 50.2%)
CIE-LABlab(28.17, 30.16, -38.87)
CIE-LCHlch(28.17, 49.20, 307.81°)
OKLaboklab(39.35% 0.0555 -0.1104)
OKLCHoklch(39.35% 0.124 296.7)
XYZxyz(8.1555, 5.5195, 20.7103)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E337F #647F33
analogous
#333E7F #4E337F #74337F
triadic
#4E337F #7F4E33 #337F4E
tetradic
#4E337F #7F333E #647F33 #337F74
square
#4E337F #7F333E #647F33 #337F74
split-complementary
#4E337F #7F7433 #3E7F33
monochromatic
#181028 #332153 #4E337F #6945AB #8969C3

Accessibility & contrast

On white

9.98
#4E337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E337F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E337F#FFFFFF#000000##FFFFFF
##4E337F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#424354
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e337f;
/* rgb */ color: rgb(78, 51, 127);
/* oklch */ color: oklch(39.3% 0.124 296.7);
Tailwind
colors: {
  custom: {
    50: '#836ca5',
    500: '#4e337f',
    950: '#000000',
  },
}
SCSS
$custom: #4e337f;
$custom-light: #836ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e337f",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 261.316,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.12353,
    "h": 296.7
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#4E337F
secondary
#91AB63
accent
#D255A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E337F

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

Preview Lab → · Contrast checker → · Palette generator →

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