#4E3F79#4E3F79

#4E3F79 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.095 H 293.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E3F79
RGBrgb(78, 63, 121)
HSLhsl(256, 32%, 36%)
HSVhsv(256, 48%, 47%)
CMYKcmyk(35.5%, 47.9%, 0%, 52.5%)
CIE-LABlab(30.77, 20.85, -30.94)
CIE-LCHlch(30.77, 37.31, 303.97°)
OKLaboklab(41.16% 0.0383 -0.0871)
OKLCHoklch(41.16% 0.095 293.7)
XYZxyz(8.3697, 6.5550, 18.9097)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F79 #6A793F
analogous
#3F4D79 #4E3F79 #6B3F79
triadic
#4E3F79 #794E3F #3F794E
tetradic
#4E3F79 #793F4D #6A793F #3F796B
square
#4E3F79 #793F4D #6A793F #3F796B
split-complementary
#4E3F79 #796B3F #4D793F
monochromatic
#1A1529 #342A51 #4E3F79 #6854A1 #8A79B9

Accessibility & contrast

On white

9.09
#4E3F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E3F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F79
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F79#FFFFFF#000000##FFFFFF
##4E3F791.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#2E4778
Tritanopia (blue-blind)
#444A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3f79;
/* rgb */ color: rgb(78, 63, 121);
/* oklch */ color: oklch(41.2% 0.095 293.7);
Tailwind
colors: {
  custom: {
    50: '#8274a0',
    500: '#4e3f79',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f79;
$custom-light: #8274a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f79",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 255.517,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.09516,
    "h": 293.7
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#4E3F79
secondary
#96A470
accent
#C860AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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