#4E1E94#4E1E94

#4E1E94 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.176 H 295.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4E1E94
RGBrgb(78, 30, 148)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(47.3%, 79.7%, 0%, 42%)
CIE-LABlab(25.82, 47.21, -55.75)
CIE-LCHlch(25.82, 73.05, 310.26°)
OKLaboklab(38.2% 0.0745 -0.1599)
OKLCHoklch(38.2% 0.176 295)
XYZxyz(8.9500, 4.6861, 28.4442)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E94 #64941E
analogous
#1E2994 #4E1E94 #891E94
triadic
#4E1E94 #944E1E #1E944E
tetradic
#4E1E94 #941E29 #64941E #1E9489
square
#4E1E94 #941E29 #64941E #1E9489
split-complementary
#4E1E94 #94891E #29941E
monochromatic
#18092E #331461 #4E1E94 #6928C7 #8951DC

Accessibility & contrast

On white

10.84
#4E1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E94
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E94#FFFFFF#000000##FFFFFF
##4E1E941.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#3A3F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e1e94;
/* rgb */ color: rgb(78, 30, 148);
/* oklch */ color: oklch(38.2% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#8760b4',
    500: '#4e1e94',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e94;
$custom-light: #8760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e94",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 264.407,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.17636,
    "h": 295
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#4E1E94
secondary
#91BF4F
accent
#E93FA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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