#4E1473#4E1473

#4E1473 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.151 H 307.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1473
RGBrgb(78, 20, 115)
HSLhsl(277, 70%, 26%)
HSVhsv(277, 83%, 45%)
CMYKcmyk(32.2%, 82.6%, 0%, 54.9%)
CIE-LABlab(21.42, 43.01, -42.15)
CIE-LCHlch(21.42, 60.22, 315.58°)
OKLaboklab(34.22% 0.0926 -0.1199)
OKLCHoklch(34.22% 0.151 307.7)
XYZxyz(6.4859, 3.3579, 16.5228)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1473 #397314
analogous
#1F1473 #4E1473 #731469
triadic
#4E1473 #734E14 #14734E
tetradic
#4E1473 #731F14 #397314 #146973
square
#4E1473 #731F14 #397314 #146973
split-complementary
#4E1473 #697314 #14731F
monochromatic
#12051A #2B0B3F #4E1473 #711DA7 #9428DA

Accessibility & contrast

On white

12.56
#4E1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1473
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1473#FFFFFF#000000##FFFFFF
##4E14731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#482D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1473;
/* rgb */ color: rgb(78, 20, 115);
/* oklch */ color: oklch(34.2% 0.151 307.7);
Tailwind
colors: {
  custom: {
    50: '#845a9c',
    500: '#4e1473',
    950: '#000000',
  },
}
SCSS
$custom: #4e1473;
$custom-light: #845a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1473",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 276.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34216,
    "c": 0.15145,
    "h": 307.7
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#4E1473
secondary
#65A93A
accent
#ED3B80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1473

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

Preview Lab → · Contrast checker → · Palette generator →

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