#4E3770#4E3770

#4E3770 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.0% C 0.096 H 300.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4E3770
RGBrgb(78, 55, 112)
HSLhsl(264, 34%, 33%)
HSVhsv(264, 51%, 44%)
CMYKcmyk(30.4%, 50.9%, 0%, 56.1%)
CIE-LABlab(28.17, 23.41, -29.38)
CIE-LCHlch(28.17, 37.57, 308.55°)
OKLaboklab(39.04% 0.049 -0.0826)
OKLCHoklch(39.04% 0.096 300.7)
XYZxyz(7.4320, 5.5219, 16.0004)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3770 #597037
analogous
#373C70 #4E3770 #6B3770
triadic
#4E3770 #704E37 #37704E
tetradic
#4E3770 #70373C #597037 #37706B
square
#4E3770 #70373C #597037 #37706B
split-complementary
#4E3770 #706B37 #3C7037
monochromatic
#150F1E #312347 #4E3770 #6B4B99 #896BB6

Accessibility & contrast

On white

9.98
#4E3770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3770
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3770#FFFFFF#000000##FFFFFF
##4E37701.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#47414E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3770;
/* rgb */ color: rgb(78, 55, 112);
/* oklch */ color: oklch(39.0% 0.096 300.7);
Tailwind
colors: {
  custom: {
    50: '#816e99',
    500: '#4e3770',
    950: '#000000',
  },
}
SCSS
$custom: #4e3770;
$custom-light: #816e99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3770",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 264.211,
    "s": 34.132,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.09598,
    "h": 300.7
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#4E3770
secondary
#879F63
accent
#CA5E9E
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3770

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

Preview Lab → · Contrast checker → · Palette generator →

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