#4E1F69#4E1F69

#4E1F69 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.127 H 310.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1F69
RGBrgb(78, 31, 105)
HSLhsl(278, 54%, 27%)
HSVhsv(278, 70%, 41%)
CMYKcmyk(25.7%, 70.5%, 0%, 58.8%)
CIE-LABlab(22.37, 35.67, -34.15)
CIE-LCHlch(22.37, 49.38, 316.25°)
OKLaboklab(34.64% 0.0827 -0.0964)
OKLCHoklch(34.64% 0.127 310.6)
XYZxyz(6.1812, 3.6197, 13.7349)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F69 #3A691F
analogous
#291F69 #4E1F69 #691F5F
triadic
#4E1F69 #694E1F #1F694E
tetradic
#4E1F69 #69291F #3A691F #1F5F69
square
#4E1F69 #69291F #3A691F #1F5F69
split-complementary
#4E1F69 #5F691F #1F6929
monochromatic
#120718 #2B113A #4E1F69 #712D98 #943DC6

Accessibility & contrast

On white

12.18
#4E1F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F69
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F69#FFFFFF#000000##FFFFFF
##4E1F691.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1f69;
/* rgb */ color: rgb(78, 31, 105);
/* oklch */ color: oklch(34.6% 0.127 310.6);
Tailwind
colors: {
  custom: {
    50: '#825e94',
    500: '#4e1f69',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f69;
$custom-light: #825e94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f69",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 278.108,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34639,
    "c": 0.12703,
    "h": 310.6
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#4E1F69
secondary
#669D47
accent
#DE4A80
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E1F69

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

Preview Lab → · Contrast checker → · Palette generator →

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