#4E3762#4E3762

#4E3762 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.2% C 0.076 H 307.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4E3762
RGBrgb(78, 55, 98)
HSLhsl(272, 28%, 30%)
HSVhsv(272, 44%, 38%)
CMYKcmyk(20.4%, 43.9%, 0%, 61.6%)
CIE-LABlab(27.39, 19.64, -21.63)
CIE-LCHlch(27.39, 29.22, 312.24°)
OKLaboklab(38.2% 0.0466 -0.0601)
OKLCHoklch(38.2% 0.076 307.8)
XYZxyz(6.7123, 5.2340, 12.2096)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3762 #4B6237
analogous
#383762 #4E3762 #623761
triadic
#4E3762 #624E37 #37624E
tetradic
#4E3762 #623837 #4B6237 #376162
square
#4E3762 #623837 #4B6237 #376162
split-complementary
#4E3762 #616237 #376238
monochromatic
#100B14 #2F213B #4E3762 #6D4D89 #8C69AB

Accessibility & contrast

On white

10.26
#4E3762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E3762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3762
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3762#FFFFFF#000000##FFFFFF
##4E37621.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4064
Deuteranopia (green-blind)
#334161
Tritanopia (blue-blind)
#4B3E47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3762;
/* rgb */ color: rgb(78, 55, 98);
/* oklch */ color: oklch(38.2% 0.076 307.8);
Tailwind
colors: {
  custom: {
    50: '#806e8f',
    500: '#4e3762',
    950: '#000000',
  },
}
SCSS
$custom: #4e3762;
$custom-light: #806e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3762",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 98
  },
  "hsl": {
    "h": 272.093,
    "s": 28.105,
    "l": 30
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.07599,
    "h": 307.8
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#4E3762
secondary
#799262
accent
#C46391
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3762

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

Preview Lab → · Contrast checker → · Palette generator →

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