#4E1E95#4E1E95

#4E1E95 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.177 H 294.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4E1E95
RGBrgb(78, 30, 149)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(47.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(25.92, 47.48, -56.21)
CIE-LCHlch(25.92, 73.57, 310.19°)
OKLaboklab(38.3% 0.0742 -0.1612)
OKLCHoklch(38.3% 0.177 294.7)
XYZxyz(9.0295, 4.7179, 28.8628)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E95 #65951E
analogous
#1E2995 #4E1E95 #8A1E95
triadic
#4E1E95 #954E1E #1E954E
tetradic
#4E1E95 #951E29 #65951E #1E958A
square
#4E1E95 #951E29 #65951E #1E958A
split-complementary
#4E1E95 #958A1E #29951E
monochromatic
#19092F #331462 #4E1E95 #6928C8 #8951DC

Accessibility & contrast

On white

10.80
#4E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E95
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E95#FFFFFF#000000##FFFFFF
##4E1E951.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#393F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e1e95;
/* rgb */ color: rgb(78, 30, 149);
/* oklch */ color: oklch(38.3% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#8760b5',
    500: '#4e1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e95;
$custom-light: #8760b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e95",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 264.202,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.17746,
    "h": 294.7
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#4E1E95
secondary
#92BF50
accent
#E93EA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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