#4E1E6A#4E1E6A

#4E1E6A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.130 H 310.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#4E1E6A
RGBrgb(78, 30, 106)
HSLhsl(278, 56%, 27%)
HSVhsv(278, 72%, 42%)
CMYKcmyk(26.4%, 71.7%, 0%, 58.4%)
CIE-LABlab(22.26, 36.42, -34.97)
CIE-LCHlch(22.26, 50.49, 316.17°)
OKLaboklab(34.58% 0.0838 -0.0988)
OKLCHoklch(34.58% 0.13 310.3)
XYZxyz(6.2072, 3.5890, 13.9986)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E6A #3A6A1E
analogous
#281E6A #4E1E6A #6A1E60
triadic
#4E1E6A #6A4E1E #1E6A4E
tetradic
#4E1E6A #6A281E #3A6A1E #1E606A
square
#4E1E6A #6A281E #3A6A1E #1E606A
split-complementary
#4E1E6A #606A1E #1E6A28
monochromatic
#120718 #2B113A #4E1E6A #712C9A #943BC7

Accessibility & contrast

On white

12.22
#4E1E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E6A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E6A#FFFFFF#000000##FFFFFF
##4E1E6A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#133668
Tritanopia (blue-blind)
#4A2E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1e6a;
/* rgb */ color: rgb(78, 30, 106);
/* oklch */ color: oklch(34.6% 0.130 310.3);
Tailwind
colors: {
  custom: {
    50: '#835e95',
    500: '#4e1e6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e6a;
$custom-light: #835e95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e6a",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 277.895,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34584,
    "c": 0.1296,
    "h": 310.3
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#4E1E6A
secondary
#669E45
accent
#DF4980
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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