#4E1E73#4E1E73

#4E1E73 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.140 H 306.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4E1E73
RGBrgb(78, 30, 115)
HSLhsl(274, 59%, 28%)
HSVhsv(274, 74%, 45%)
CMYKcmyk(32.2%, 73.9%, 0%, 54.9%)
CIE-LABlab(22.95, 38.65, -39.67)
CIE-LCHlch(22.95, 55.39, 314.25°)
OKLaboklab(35.29% 0.0826 -0.1126)
OKLCHoklch(35.29% 0.14 306.3)
XYZxyz(6.7000, 3.7861, 16.5942)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E73 #43731E
analogous
#231E73 #4E1E73 #731E6D
triadic
#4E1E73 #734E1E #1E734E
tetradic
#4E1E73 #73231E #43731E #1E6D73
square
#4E1E73 #73231E #43731E #1E6D73
split-complementary
#4E1E73 #6D731E #1E7323
monochromatic
#100618 #2D1142 #4E1E73 #6F2BA4 #8F3FCD

Accessibility & contrast

On white

11.95
#4E1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E73
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E73#FFFFFF#000000##FFFFFF
##4E1E731.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#483246
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1e73;
/* rgb */ color: rgb(78, 30, 115);
/* oklch */ color: oklch(35.3% 0.140 306.3);
Tailwind
colors: {
  custom: {
    50: '#835e9c',
    500: '#4e1e73',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e73;
$custom-light: #835e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e73",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 273.882,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35293,
    "c": 0.13969,
    "h": 306.3
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#4E1E73
secondary
#70A746
accent
#E2468A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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