#4E1E6E#4E1E6E

#4E1E6E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 308.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4E1E6E
RGBrgb(78, 30, 110)
HSLhsl(276, 57%, 27%)
HSVhsv(276, 73%, 43%)
CMYKcmyk(29.1%, 72.7%, 0%, 56.9%)
CIE-LABlab(22.56, 37.41, -37.08)
CIE-LCHlch(22.56, 52.67, 315.25°)
OKLaboklab(34.89% 0.0834 -0.105)
OKLCHoklch(34.89% 0.134 308.4)
XYZxyz(6.4201, 3.6741, 15.1198)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E6E #3E6E1E
analogous
#261E6E #4E1E6E #6E1E66
triadic
#4E1E6E #6E4E1E #1E6E4E
tetradic
#4E1E6E #6E261E #3E6E1E #1E666E
square
#4E1E6E #6E261E #3E6E1E #1E666E
split-complementary
#4E1E6E #666E1E #1E6E26
monochromatic
#110718 #2C113E #4E1E6E #702B9E #913CCA

Accessibility & contrast

On white

12.11
#4E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E6E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E6E#FFFFFF#000000##FFFFFF
##4E1E6E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#0C366C
Tritanopia (blue-blind)
#493043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1e6e;
/* rgb */ color: rgb(78, 30, 110);
/* oklch */ color: oklch(34.9% 0.134 308.4);
Tailwind
colors: {
  custom: {
    50: '#835e98',
    500: '#4e1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e6e;
$custom-light: #835e98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e6e",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 276,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.13409,
    "h": 308.4
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#4E1E6E
secondary
#6BA246
accent
#E04785
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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