#4E1D6A#4E1D6A

#4E1D6A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.131 H 310.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#4E1D6A
RGBrgb(78, 29, 106)
HSLhsl(278, 57%, 26%)
HSVhsv(278, 73%, 42%)
CMYKcmyk(26.4%, 72.6%, 0%, 58.4%)
CIE-LABlab(22.09, 36.92, -35.26)
CIE-LCHlch(22.09, 51.05, 316.32°)
OKLaboklab(34.46% 0.085 -0.0997)
OKLCHoklch(34.46% 0.131 310.5)
XYZxyz(6.1823, 3.5392, 13.9903)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D6A #396A1D
analogous
#281D6A #4E1D6A #6A1D60
triadic
#4E1D6A #6A4E1D #1D6A4E
tetradic
#4E1D6A #6A281D #396A1D #1D606A
square
#4E1D6A #6A281D #396A1D #1D606A
split-complementary
#4E1D6A #606A1D #1D6A28
monochromatic
#120718 #2B103A #4E1D6A #712A9A #9439C9

Accessibility & contrast

On white

12.30
#4E1D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D6A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D6A#FFFFFF#000000##FFFFFF
##4E1D6A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#4A2D41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1d6a;
/* rgb */ color: rgb(78, 29, 106);
/* oklch */ color: oklch(34.5% 0.131 310.5);
Tailwind
colors: {
  custom: {
    50: '#835d95',
    500: '#4e1d6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d6a;
$custom-light: #835d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d6a",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 278.182,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.13102,
    "h": 310.5
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#4E1D6A
secondary
#659F44
accent
#E0487F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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