#4E1D73#4E1D73

#4E1D73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.141 H 306.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4E1D73
RGBrgb(78, 29, 115)
HSLhsl(274, 60%, 28%)
HSVhsv(274, 75%, 45%)
CMYKcmyk(32.2%, 74.8%, 0%, 54.9%)
CIE-LABlab(22.78, 39.13, -39.95)
CIE-LCHlch(22.78, 55.93, 314.41°)
OKLaboklab(35.17% 0.0837 -0.1135)
OKLCHoklch(35.17% 0.141 306.4)
XYZxyz(6.6751, 3.7363, 16.5859)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D73 #42731D
analogous
#231D73 #4E1D73 #731D6D
triadic
#4E1D73 #734E1D #1D734E
tetradic
#4E1D73 #73231D #42731D #1D6D73
square
#4E1D73 #73231D #42731D #1D6D73
split-complementary
#4E1D73 #6D731D #1D7323
monochromatic
#110618 #2D1142 #4E1D73 #6F29A4 #8F3CCE

Accessibility & contrast

On white

12.02
#4E1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D73
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D73#FFFFFF#000000##FFFFFF
##4E1D731.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1d73;
/* rgb */ color: rgb(78, 29, 115);
/* oklch */ color: oklch(35.2% 0.141 306.4);
Tailwind
colors: {
  custom: {
    50: '#835e9c',
    500: '#4e1d73',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d73;
$custom-light: #835e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d73",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 274.186,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.141,
    "h": 306.4
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#4E1D73
secondary
#6FA745
accent
#E34589
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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