#4E1890#4E1890

#4E1890 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.178 H 296.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1890
RGBrgb(78, 24, 144)
HSLhsl(267, 71%, 33%)
HSVhsv(267, 83%, 56%)
CMYKcmyk(45.8%, 83.3%, 0%, 43.5%)
CIE-LABlab(24.60, 48.62, -55.28)
CIE-LCHlch(24.60, 73.62, 311.33°)
OKLaboklab(37.24% 0.0803 -0.1584)
OKLCHoklch(37.24% 0.178 296.9)
XYZxyz(8.5012, 4.2864, 26.7596)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1890 #5A9018
analogous
#181E90 #4E1890 #8A1890
triadic
#4E1890 #904E18 #18904E
tetradic
#4E1890 #90181E #5A9018 #18908A
square
#4E1890 #90181E #5A9018 #18908A
split-complementary
#4E1890 #908A18 #1E9018
monochromatic
#150727 #320F5C #4E1890 #6A21C4 #8943E0

Accessibility & contrast

On white

11.31
#4E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1890
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1890#FFFFFF#000000##FFFFFF
##4E18901.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#3C3B55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1890;
/* rgb */ color: rgb(78, 24, 144);
/* oklch */ color: oklch(37.2% 0.178 296.9);
Tailwind
colors: {
  custom: {
    50: '#875db2',
    500: '#4e1890',
    950: '#000000',
  },
}
SCSS
$custom: #4e1890;
$custom-light: #875db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1890",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 267,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.17763,
    "h": 296.9
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#4E1890
secondary
#88C043
accent
#EE3A9D
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1890

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

Preview Lab → · Contrast checker → · Palette generator →

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