#4E367E#4E367E

#4E367E is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.8% C 0.117 H 296.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4E367E
RGBrgb(78, 54, 126)
HSLhsl(260, 40%, 35%)
HSVhsv(260, 57%, 49%)
CMYKcmyk(38.1%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.81, 28.02, -37.21)
CIE-LCHlch(28.81, 46.58, 306.98°)
OKLaboklab(39.8% 0.0515 -0.1055)
OKLCHoklch(39.8% 0.117 296)
XYZxyz(8.2260, 5.7643, 20.4138)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E367E #667E36
analogous
#36427E #4E367E #72367E
triadic
#4E367E #7E4E36 #367E4E
tetradic
#4E367E #7E3642 #667E36 #367E72
square
#4E367E #7E3642 #667E36 #367E72
split-complementary
#4E367E #7E7236 #427E36
monochromatic
#191128 #332453 #4E367E #6948A9 #896EC1

Accessibility & contrast

On white

9.75
#4E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E367E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E367E#FFFFFF#000000##FFFFFF
##4E367E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#434554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e367e;
/* rgb */ color: rgb(78, 54, 126);
/* oklch */ color: oklch(39.8% 0.117 296.0);
Tailwind
colors: {
  custom: {
    50: '#836ea4',
    500: '#4e367e',
    950: '#000000',
  },
}
SCSS
$custom: #4e367e;
$custom-light: #836ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e367e",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 260,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.11738,
    "h": 296
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#4E367E
secondary
#93A967
accent
#D058A8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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