#4E367F#4E367F

#4E367F is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.9% C 0.119 H 295.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4E367F
RGBrgb(78, 54, 127)
HSLhsl(260, 40%, 35%)
HSVhsv(260, 57%, 50%)
CMYKcmyk(38.6%, 57.5%, 0%, 50.2%)
CIE-LABlab(28.88, 28.31, -37.73)
CIE-LCHlch(28.88, 47.17, 306.88°)
OKLaboklab(39.87% 0.0515 -0.107)
OKLCHoklch(39.87% 0.119 295.7)
XYZxyz(8.2908, 5.7902, 20.7554)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E367F #677F36
analogous
#36427F #4E367F #72367F
triadic
#4E367F #7F4E36 #367F4E
tetradic
#4E367F #7F3642 #677F36 #367F72
square
#4E367F #7F3642 #677F36 #367F72
split-complementary
#4E367F #7F7236 #427F36
monochromatic
#191129 #342454 #4E367F #6848AA #896EC1

Accessibility & contrast

On white

9.73
#4E367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E367F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E367F#FFFFFF#000000##FFFFFF
##4E367F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#424555
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e367f;
/* rgb */ color: rgb(78, 54, 127);
/* oklch */ color: oklch(39.9% 0.119 295.7);
Tailwind
colors: {
  custom: {
    50: '#836ea5',
    500: '#4e367f',
    950: '#000000',
  },
}
SCSS
$custom: #4e367f;
$custom-light: #836ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e367f",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 259.726,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.11876,
    "h": 295.7
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#4E367F
secondary
#94AA67
accent
#D058A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E367F

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

Preview Lab → · Contrast checker → · Palette generator →

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