#4E3F78#4E3F78

#4E3F78 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.1% C 0.094 H 294.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E3F78
RGBrgb(78, 63, 120)
HSLhsl(256, 31%, 36%)
HSVhsv(256, 48%, 47%)
CMYKcmyk(35%, 47.5%, 0%, 52.9%)
CIE-LABlab(30.71, 20.55, -30.41)
CIE-LCHlch(30.71, 36.70, 304.06°)
OKLaboklab(41.1% 0.0381 -0.0856)
OKLCHoklch(41.1% 0.094 294)
XYZxyz(8.3087, 6.5306, 18.5884)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F78 #69783F
analogous
#3F4C78 #4E3F78 #6A3F78
triadic
#4E3F78 #784E3F #3F784E
tetradic
#4E3F78 #783F4C #69783F #3F786A
square
#4E3F78 #783F4C #69783F #3F786A
split-complementary
#4E3F78 #786A3F #4C783F
monochromatic
#1A1528 #342A50 #4E3F78 #6854A0 #8A79B9

Accessibility & contrast

On white

9.11
#4E3F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E3F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F78
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F78#FFFFFF#000000##FFFFFF
##4E3F781.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#2F4777
Tritanopia (blue-blind)
#444A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3f78;
/* rgb */ color: rgb(78, 63, 120);
/* oklch */ color: oklch(41.1% 0.094 294.0);
Tailwind
colors: {
  custom: {
    50: '#82749f',
    500: '#4e3f78',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f78;
$custom-light: #82749f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f78",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 255.789,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.09366,
    "h": 294
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#4E3F78
secondary
#96A370
accent
#C760AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3F78

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

Preview Lab → · Contrast checker → · Palette generator →

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