#4E1A69#4E1A69

#4E1A69 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.134 H 311.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4E1A69
RGBrgb(78, 26, 105)
HSLhsl(279, 60%, 26%)
HSVhsv(279, 75%, 41%)
CMYKcmyk(25.7%, 75.2%, 0%, 58.8%)
CIE-LABlab(21.50, 38.11, -35.55)
CIE-LCHlch(21.50, 52.12, 316.99°)
OKLaboklab(34.02% 0.0887 -0.1005)
OKLCHoklch(34.02% 0.134 311.4)
XYZxyz(6.0606, 3.3786, 13.6947)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A69 #35691A
analogous
#271A69 #4E1A69 #691A5C
triadic
#4E1A69 #694E1A #1A694E
tetradic
#4E1A69 #69271A #35691A #1A5C69
square
#4E1A69 #69271A #35691A #1A5C69
split-complementary
#4E1A69 #5C691A #1A6927
monochromatic
#120619 #2A0E38 #4E1A69 #72269A #9732CB

Accessibility & contrast

On white

12.53
#4E1A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A69
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A69#FFFFFF#000000##FFFFFF
##4E1A691.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#0F3567
Tritanopia (blue-blind)
#4B2B3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1a69;
/* rgb */ color: rgb(78, 26, 105);
/* oklch */ color: oklch(34.0% 0.134 311.4);
Tailwind
colors: {
  custom: {
    50: '#835c94',
    500: '#4e1a69',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a69;
$custom-light: #835c94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a69",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 279.494,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.13402,
    "h": 311.4
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#4E1A69
secondary
#619E40
accent
#E3447B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1A69

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

Preview Lab → · Contrast checker → · Palette generator →

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