#4E1A83#4E1A83

#4E1A83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.162 H 300.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4E1A83
RGBrgb(78, 26, 131)
HSLhsl(270, 67%, 31%)
HSVhsv(270, 80%, 51%)
CMYKcmyk(40.5%, 80.2%, 0%, 48.6%)
CIE-LABlab(23.66, 44.52, -48.69)
CIE-LCHlch(23.66, 65.97, 312.44°)
OKLaboklab(36.22% 0.0829 -0.1391)
OKLCHoklch(36.22% 0.162 300.8)
XYZxyz(7.6070, 3.9971, 21.8391)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A83 #4F831A
analogous
#1A1B83 #4E1A83 #821A83
triadic
#4E1A83 #834E1A #1A834E
tetradic
#4E1A83 #831A1B #4F831A #1A8382
square
#4E1A83 #831A1B #4F831A #1A8382
split-complementary
#4E1A83 #83821A #1B831A
monochromatic
#11061D #301050 #4E1A83 #6C24B6 #8B3FD9

Accessibility & contrast

On white

11.67
#4E1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A83
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A83#FFFFFF#000000##FFFFFF
##4E1A831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#42364E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e1a83;
/* rgb */ color: rgb(78, 26, 131);
/* oklch */ color: oklch(36.2% 0.162 300.8);
Tailwind
colors: {
  custom: {
    50: '#855da8',
    500: '#4e1a83',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a83;
$custom-light: #855da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a83",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 269.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36215,
    "c": 0.16195,
    "h": 300.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#4E1A83
secondary
#7DB742
accent
#EA3E95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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