#4E3779#4E3779

#4E3779 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.109 H 297.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4E3779
RGBrgb(78, 55, 121)
HSLhsl(261, 38%, 35%)
HSVhsv(261, 55%, 47%)
CMYKcmyk(35.5%, 54.5%, 0%, 52.5%)
CIE-LABlab(28.73, 25.95, -34.20)
CIE-LCHlch(28.73, 42.93, 307.19°)
OKLaboklab(39.63% 0.0498 -0.0966)
OKLCHoklch(39.63% 0.109 297.3)
XYZxyz(7.9584, 5.7324, 18.7726)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3779 #627937
analogous
#374179 #4E3779 #6F3779
triadic
#4E3779 #794E37 #37794E
tetradic
#4E3779 #793741 #627937 #37796F
square
#4E3779 #793741 #627937 #37796F
split-complementary
#4E3779 #796F37 #417937
monochromatic
#181125 #33244F #4E3779 #694AA3 #896EBD

Accessibility & contrast

On white

9.78
#4E3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3779
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3779#FFFFFF#000000##FFFFFF
##4E37791.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#444452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3779;
/* rgb */ color: rgb(78, 55, 121);
/* oklch */ color: oklch(39.6% 0.109 297.3);
Tailwind
colors: {
  custom: {
    50: '#826ea0',
    500: '#4e3779',
    950: '#000000',
  },
}
SCSS
$custom: #4e3779;
$custom-light: #826ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3779",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 260.909,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.10874,
    "h": 297.3
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#4E3779
secondary
#90A666
accent
#CD5AA5
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E3779

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

Preview Lab → · Contrast checker → · Palette generator →

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