#4E377F#4E377F

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

Color values

HEX#4E377F
RGBrgb(78, 55, 127)
HSLhsl(259, 40%, 36%)
HSVhsv(259, 57%, 50%)
CMYKcmyk(38.6%, 56.7%, 0%, 50.2%)
CIE-LABlab(29.12, 27.69, -37.34)
CIE-LCHlch(29.12, 46.49, 306.56°)
OKLaboklab(40.05% 0.0501 -0.1059)
OKLCHoklch(40.05% 0.117 295.3)
XYZxyz(8.3379, 5.8842, 20.7710)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E377F #687F37
analogous
#37447F #4E377F #72377F
triadic
#4E377F #7F4E37 #377F4E
tetradic
#4E377F #7F3744 #687F37 #377F72
square
#4E377F #7F3744 #687F37 #377F72
split-complementary
#4E377F #7F7237 #447F37
monochromatic
#1A122A #342554 #4E377F #6849AA #8A70C1

Accessibility & contrast

On white

9.65
#4E377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E377F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E377F#FFFFFF#000000##FFFFFF
##4E377F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#1D447D
Tritanopia (blue-blind)
#424655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e377f;
/* rgb */ color: rgb(78, 55, 127);
/* oklch */ color: oklch(40.0% 0.117 295.3);
Tailwind
colors: {
  custom: {
    50: '#836ea4',
    500: '#4e377f',
    950: '#000000',
  },
}
SCSS
$custom: #4e377f;
$custom-light: #836ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e377f",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 259.167,
    "s": 39.56,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.11714,
    "h": 295.3
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#4E377F
secondary
#95AA68
accent
#CF58A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E377F

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

Preview Lab → · Contrast checker → · Palette generator →

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