#4E3864#4E3864

#4E3864 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.5% C 0.077 H 306.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4E3864
RGBrgb(78, 56, 100)
HSLhsl(270, 28%, 31%)
HSVhsv(270, 44%, 39%)
CMYKcmyk(22%, 44%, 0%, 60.8%)
CIE-LABlab(27.76, 19.52, -22.35)
CIE-LCHlch(27.76, 29.67, 311.13°)
OKLaboklab(38.51% 0.0454 -0.0621)
OKLCHoklch(38.51% 0.077 306.1)
XYZxyz(6.8558, 5.3682, 12.7291)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3864 #4E6438
analogous
#383864 #4E3864 #643864
triadic
#4E3864 #644E38 #38644E
tetradic
#4E3864 #643838 #4E6438 #386464
square
#4E3864 #643838 #4E6438 #386464
split-complementary
#4E3864 #646438 #386438
monochromatic
#110C16 #2F223D #4E3864 #6D4E8B #8B6BAC

Accessibility & contrast

On white

10.13
#4E3864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E3864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3864
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3864#FFFFFF#000000##FFFFFF
##4E38641.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#334263
Tritanopia (blue-blind)
#4B3F49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3864;
/* rgb */ color: rgb(78, 56, 100);
/* oklch */ color: oklch(38.5% 0.077 306.1);
Tailwind
colors: {
  custom: {
    50: '#806f90',
    500: '#4e3864',
    950: '#000000',
  },
}
SCSS
$custom: #4e3864;
$custom-light: #806f90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3864",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 100
  },
  "hsl": {
    "h": 270,
    "s": 28.205,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.07692,
    "h": 306.1
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#4E3864
secondary
#7C9463
accent
#C56394
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3864

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

Preview Lab → · Contrast checker → · Palette generator →

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