#4E1F73#4E1F73

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

Color values

HEX#4E1F73
RGBrgb(78, 31, 115)
HSLhsl(274, 58%, 29%)
HSVhsv(274, 73%, 45%)
CMYKcmyk(32.2%, 73%, 0%, 54.9%)
CIE-LABlab(23.13, 38.16, -39.39)
CIE-LCHlch(23.13, 54.84, 314.09°)
OKLaboklab(35.42% 0.0815 -0.1118)
OKLCHoklch(35.42% 0.138 306.1)
XYZxyz(6.7257, 3.8375, 16.6027)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F73 #44731F
analogous
#241F73 #4E1F73 #731F6E
triadic
#4E1F73 #734E1F #1F734E
tetradic
#4E1F73 #73241F #44731F #1F6E73
square
#4E1F73 #73241F #44731F #1F6E73
split-complementary
#4E1F73 #6E731F #1F7324
monochromatic
#100618 #2D1243 #4E1F73 #6F2CA3 #8E41CC

Accessibility & contrast

On white

11.88
#4E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F73
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F73#FFFFFF#000000##FFFFFF
##4E1F731.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1f73;
/* rgb */ color: rgb(78, 31, 115);
/* oklch */ color: oklch(35.4% 0.138 306.1);
Tailwind
colors: {
  custom: {
    50: '#835f9c',
    500: '#4e1f73',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f73;
$custom-light: #835f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f73",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 273.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.13836,
    "h": 306.1
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#4E1F73
secondary
#71A747
accent
#E1478B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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