#4E1DA0#4E1DA0

#4E1DA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.190 H 292.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4E1DA0
RGBrgb(78, 29, 160)
HSLhsl(262, 69%, 37%)
HSVhsv(262, 82%, 63%)
CMYKcmyk(51.2%, 81.9%, 0%, 37.3%)
CIE-LABlab(26.84, 50.80, -61.43)
CIE-LCHlch(26.84, 79.72, 309.59°)
OKLaboklab(39.26% 0.0713 -0.1765)
OKLCHoklch(39.26% 0.19 292)
XYZxyz(9.9246, 5.0361, 33.7000)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1DA0 #6FA01D
analogous
#1D2DA0 #4E1DA0 #901DA0
triadic
#4E1DA0 #A04E1D #1DA04E
tetradic
#4E1DA0 #A01D2D #6FA01D #1DA090
square
#4E1DA0 #A01D2D #6FA01D #1DA090
split-complementary
#4E1DA0 #A0901D #2DA01D
monochromatic
#1B0A38 #35146C #4E1DA0 #6726D4 #8A57E1

Accessibility & contrast

On white

10.46
#4E1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1DA0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1DA0#FFFFFF#000000##FFFFFF
##4E1DA01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#32445F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e1da0;
/* rgb */ color: rgb(78, 29, 160);
/* oklch */ color: oklch(39.3% 0.190 292.0);
Tailwind
colors: {
  custom: {
    50: '#8960bd',
    500: '#4e1da0',
    950: '#000000',
  },
}
SCSS
$custom: #4e1da0;
$custom-light: #8960bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1da0",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 262.443,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.19034,
    "h": 292
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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