#4E1B69#4E1B69

#4E1B69 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.133 H 311.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#4E1B69
RGBrgb(78, 27, 105)
HSLhsl(279, 59%, 26%)
HSVhsv(279, 74%, 41%)
CMYKcmyk(25.7%, 74.3%, 0%, 58.8%)
CIE-LABlab(21.67, 37.65, -35.28)
CIE-LCHlch(21.67, 51.60, 316.86°)
OKLaboklab(34.13% 0.0875 -0.0997)
OKLCHoklch(34.13% 0.133 311.3)
XYZxyz(6.0831, 3.4236, 13.7022)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B69 #36691B
analogous
#271B69 #4E1B69 #691B5D
triadic
#4E1B69 #694E1B #1B694E
tetradic
#4E1B69 #69271B #36691B #1B5D69
square
#4E1B69 #69271B #36691B #1B5D69
split-complementary
#4E1B69 #5D691B #1B6927
monochromatic
#120618 #2A0E38 #4E1B69 #72289A #9634CA

Accessibility & contrast

On white

12.47
#4E1B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B69
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B69#FFFFFF#000000##FFFFFF
##4E1B691.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#103567
Tritanopia (blue-blind)
#4B2C40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1b69;
/* rgb */ color: rgb(78, 27, 105);
/* oklch */ color: oklch(34.1% 0.133 311.3);
Tailwind
colors: {
  custom: {
    50: '#835c94',
    500: '#4e1b69',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b69;
$custom-light: #835c94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b69",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 279.231,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34134,
    "c": 0.13268,
    "h": 311.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#4E1B69
secondary
#629E42
accent
#E2467C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1B69

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

Preview Lab → · Contrast checker → · Palette generator →

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