#4E1E69#4E1E69

#4E1E69 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.128 H 310.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#4E1E69
RGBrgb(78, 30, 105)
HSLhsl(278, 56%, 26%)
HSVhsv(278, 71%, 41%)
CMYKcmyk(25.7%, 71.4%, 0%, 58.8%)
CIE-LABlab(22.19, 36.18, -34.44)
CIE-LCHlch(22.19, 49.95, 316.41°)
OKLaboklab(34.51% 0.0839 -0.0973)
OKLCHoklch(34.51% 0.128 310.8)
XYZxyz(6.1555, 3.5683, 13.7264)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E69 #39691E
analogous
#291E69 #4E1E69 #691E5F
triadic
#4E1E69 #694E1E #1E694E
tetradic
#4E1E69 #69291E #39691E #1E5F69
square
#4E1E69 #69291E #39691E #1E5F69
split-complementary
#4E1E69 #5F691E #1E6929
monochromatic
#120718 #2B1039 #4E1E69 #712C99 #943BC7

Accessibility & contrast

On white

12.25
#4E1E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E69
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E69#FFFFFF#000000##FFFFFF
##4E1E691.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1e69;
/* rgb */ color: rgb(78, 30, 105);
/* oklch */ color: oklch(34.5% 0.128 310.8);
Tailwind
colors: {
  custom: {
    50: '#835e94',
    500: '#4e1e69',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e69;
$custom-light: #835e94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e69",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 278.4,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.12848,
    "h": 310.8
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#4E1E69
secondary
#659E45
accent
#DF497F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1E69

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

Preview Lab → · Contrast checker → · Palette generator →

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