#4E3777#4E3777

#4E3777 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.106 H 298.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3777
RGBrgb(78, 55, 119)
HSLhsl(262, 37%, 34%)
HSVhsv(262, 54%, 47%)
CMYKcmyk(34.5%, 53.8%, 0%, 53.3%)
CIE-LABlab(28.60, 25.38, -33.14)
CIE-LCHlch(28.60, 41.74, 307.45°)
OKLaboklab(39.5% 0.0497 -0.0935)
OKLCHoklch(39.5% 0.106 298)
XYZxyz(7.8370, 5.6839, 18.1334)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3777 #607737
analogous
#374077 #4E3777 #6E3777
triadic
#4E3777 #774E37 #37774E
tetradic
#4E3777 #773740 #607737 #37776E
square
#4E3777 #773740 #607737 #37776E
split-complementary
#4E3777 #776E37 #407737
monochromatic
#171023 #33244D #4E3777 #694AA1 #896DBB

Accessibility & contrast

On white

9.83
#4E3777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E3777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3777
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3777#FFFFFF#000000##FFFFFF
##4E37771.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4479
Deuteranopia (green-blind)
#254375
Tritanopia (blue-blind)
#454351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3777;
/* rgb */ color: rgb(78, 55, 119);
/* oklch */ color: oklch(39.5% 0.106 298.0);
Tailwind
colors: {
  custom: {
    50: '#826e9e',
    500: '#4e3777',
    950: '#000000',
  },
}
SCSS
$custom: #4e3777;
$custom-light: #826e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3777",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 261.563,
    "s": 36.782,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.10592,
    "h": 298
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#4E3777
secondary
#8EA465
accent
#CD5BA4
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3777

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

Preview Lab → · Contrast checker → · Palette generator →

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