#4E1E74#4E1E74

#4E1E74 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.141 H 305.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4E1E74
RGBrgb(78, 30, 116)
HSLhsl(273, 59%, 29%)
HSVhsv(273, 74%, 45%)
CMYKcmyk(32.8%, 74.1%, 0%, 54.5%)
CIE-LABlab(23.03, 38.90, -40.19)
CIE-LCHlch(23.03, 55.93, 314.07°)
OKLaboklab(35.38% 0.0824 -0.1142)
OKLCHoklch(35.38% 0.141 305.8)
XYZxyz(6.7579, 3.8093, 16.8989)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E74 #44741E
analogous
#231E74 #4E1E74 #741E6F
triadic
#4E1E74 #744E1E #1E744E
tetradic
#4E1E74 #74231E #44741E #1E6F74
square
#4E1E74 #74231E #44741E #1E6F74
split-complementary
#4E1E74 #6F741E #1E7423
monochromatic
#100618 #2D1143 #4E1E74 #6F2BA5 #8E3FCD

Accessibility & contrast

On white

11.92
#4E1E74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E1E74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E74
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E74#FFFFFF#000000##FFFFFF
##4E1E741.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#473247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1e74;
/* rgb */ color: rgb(78, 30, 116);
/* oklch */ color: oklch(35.4% 0.141 305.8);
Tailwind
colors: {
  custom: {
    50: '#835e9d',
    500: '#4e1e74',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e74;
$custom-light: #835e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e74",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 116
  },
  "hsl": {
    "h": 273.488,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35375,
    "c": 0.14081,
    "h": 305.8
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#4E1E74
secondary
#71A846
accent
#E2468B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E74

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

Preview Lab → · Contrast checker → · Palette generator →

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