#4E1D69#4E1D69

#4E1D69 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.130 H 311.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E1D69
RGBrgb(78, 29, 105)
HSLhsl(279, 57%, 26%)
HSVhsv(279, 72%, 41%)
CMYKcmyk(25.7%, 72.4%, 0%, 58.8%)
CIE-LABlab(22.01, 36.68, -34.73)
CIE-LCHlch(22.01, 50.51, 316.57°)
OKLaboklab(34.38% 0.0852 -0.0981)
OKLCHoklch(34.38% 0.13 311)
XYZxyz(6.1306, 3.5185, 13.7180)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D69 #38691D
analogous
#281D69 #4E1D69 #691D5E
triadic
#4E1D69 #694E1D #1D694E
tetradic
#4E1D69 #69281D #38691D #1D5E69
square
#4E1D69 #69281D #38691D #1D5E69
split-complementary
#4E1D69 #5E691D #1D6928
monochromatic
#120718 #2A1039 #4E1D69 #722A99 #9538C8

Accessibility & contrast

On white

12.33
#4E1D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E1D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D69
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D69#FFFFFF#000000##FFFFFF
##4E1D691.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#133667
Tritanopia (blue-blind)
#4B2D40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1d69;
/* rgb */ color: rgb(78, 29, 105);
/* oklch */ color: oklch(34.4% 0.130 311.0);
Tailwind
colors: {
  custom: {
    50: '#835d94',
    500: '#4e1d69',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d69;
$custom-light: #835d94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d69",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 105
  },
  "hsl": {
    "h": 278.684,
    "s": 56.716,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3438,
    "c": 0.12991,
    "h": 311
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#4E1D69
secondary
#649E44
accent
#E0487E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1D69

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

Preview Lab → · Contrast checker → · Palette generator →

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