#4E1D9F#4E1D9F

#4E1D9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.189 H 292.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4E1D9F
RGBrgb(78, 29, 159)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 82%, 62%)
CMYKcmyk(50.9%, 81.8%, 0%, 37.6%)
CIE-LABlab(26.74, 50.54, -60.98)
CIE-LCHlch(26.74, 79.20, 309.65°)
OKLaboklab(39.16% 0.0716 -0.1752)
OKLCHoklch(39.16% 0.189 292.2)
XYZxyz(9.8375, 5.0013, 33.2412)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D9F #6E9F1D
analogous
#1D2D9F #4E1D9F #8F1D9F
triadic
#4E1D9F #9F4E1D #1D9F4E
tetradic
#4E1D9F #9F1D2D #6E9F1D #1D9F8F
square
#4E1D9F #9F1D2D #6E9F1D #1D9F8F
split-complementary
#4E1D9F #9F8F1D #2D9F1D
monochromatic
#1B0A37 #35146B #4E1D9F #6726D3 #8A56E0

Accessibility & contrast

On white

10.50
#4E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D9F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D9F#FFFFFF#000000##FFFFFF
##4E1D9F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#33435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e1d9f;
/* rgb */ color: rgb(78, 29, 159);
/* oklch */ color: oklch(39.2% 0.189 292.2);
Tailwind
colors: {
  custom: {
    50: '#8960bd',
    500: '#4e1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d9f;
$custom-light: #8960bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d9f",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 262.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.18926,
    "h": 292.2
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#4E1D9F
secondary
#9AC454
accent
#EC3CAA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4E1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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