#4E377E#4E377E

#4E377E is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.116 H 295.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4E377E
RGBrgb(78, 55, 126)
HSLhsl(259, 39%, 35%)
HSVhsv(259, 56%, 49%)
CMYKcmyk(38.1%, 56.3%, 0%, 50.6%)
CIE-LABlab(29.05, 27.40, -36.82)
CIE-LCHlch(29.05, 45.90, 306.65°)
OKLaboklab(39.98% 0.0501 -0.1043)
OKLCHoklch(39.98% 0.116 295.7)
XYZxyz(8.2730, 5.8583, 20.4295)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E377E #677E37
analogous
#37437E #4E377E #72377E
triadic
#4E377E #7E4E37 #377E4E
tetradic
#4E377E #7E3743 #677E37 #377E72
square
#4E377E #7E3743 #677E37 #377E72
split-complementary
#4E377E #7E7237 #437E37
monochromatic
#191229 #342453 #4E377E #684AA9 #896FC0

Accessibility & contrast

On white

9.67
#4E377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E377E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E377E#FFFFFF#000000##FFFFFF
##4E377E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#434655
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e377e;
/* rgb */ color: rgb(78, 55, 126);
/* oklch */ color: oklch(40.0% 0.116 295.7);
Tailwind
colors: {
  custom: {
    50: '#836ea4',
    500: '#4e377e',
    950: '#000000',
  },
}
SCSS
$custom: #4e377e;
$custom-light: #836ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e377e",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 259.437,
    "s": 39.227,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.11576,
    "h": 295.7
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#4E377E
secondary
#94A968
accent
#CF59A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E377E

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

Preview Lab → · Contrast checker → · Palette generator →

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