#4E1E6D#4E1E6D

#4E1E6D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.133 H 308.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4E1E6D
RGBrgb(78, 30, 109)
HSLhsl(276, 57%, 27%)
HSVhsv(276, 72%, 43%)
CMYKcmyk(28.4%, 72.5%, 0%, 57.3%)
CIE-LABlab(22.49, 37.16, -36.55)
CIE-LCHlch(22.49, 52.12, 315.47°)
OKLaboklab(34.82% 0.0835 -0.1035)
OKLCHoklch(34.82% 0.133 308.9)
XYZxyz(6.3659, 3.6525, 14.8347)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E6D #3D6D1E
analogous
#271E6D #4E1E6D #6D1E65
triadic
#4E1E6D #6D4E1E #1E6D4E
tetradic
#4E1E6D #6D271E #3D6D1E #1E656D
square
#4E1E6D #6D271E #3D6D1E #1E656D
split-complementary
#4E1E6D #656D1E #1E6D27
monochromatic
#110718 #2C113D #4E1E6D #702B9D #923CC9

Accessibility & contrast

On white

12.14
#4E1E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E1E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E6D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E6D#FFFFFF#000000##FFFFFF
##4E1E6D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#0E366B
Tritanopia (blue-blind)
#492F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1e6d;
/* rgb */ color: rgb(78, 30, 109);
/* oklch */ color: oklch(34.8% 0.133 308.9);
Tailwind
colors: {
  custom: {
    50: '#835e97',
    500: '#4e1e6d',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e6d;
$custom-light: #835e97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e6d",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 276.456,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.13297,
    "h": 308.9
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#4E1E6D
secondary
#6AA145
accent
#E04884
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E1E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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