#4E1D6F#4E1D6F

#4E1D6F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.137 H 308.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4E1D6F
RGBrgb(78, 29, 111)
HSLhsl(276, 59%, 27%)
HSVhsv(276, 74%, 44%)
CMYKcmyk(29.7%, 73.9%, 0%, 56.5%)
CIE-LABlab(22.47, 38.14, -37.88)
CIE-LCHlch(22.47, 53.76, 315.20°)
OKLaboklab(34.85% 0.0844 -0.1074)
OKLCHoklch(34.85% 0.137 308.2)
XYZxyz(6.4499, 3.6462, 15.3999)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D6F #3E6F1D
analogous
#251D6F #4E1D6F #6F1D67
triadic
#4E1D6F #6F4E1D #1D6F4E
tetradic
#4E1D6F #6F251D #3E6F1D #1D676F
square
#4E1D6F #6F251D #3E6F1D #1D676F
split-complementary
#4E1D6F #676F1D #1D6F25
monochromatic
#110618 #2C103E #4E1D6F #702AA0 #913BCC

Accessibility & contrast

On white

12.14
#4E1D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E1D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D6F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D6F#FFFFFF#000000##FFFFFF
##4E1D6F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#492F44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1d6f;
/* rgb */ color: rgb(78, 29, 111);
/* oklch */ color: oklch(34.8% 0.137 308.2);
Tailwind
colors: {
  custom: {
    50: '#835e99',
    500: '#4e1d6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d6f;
$custom-light: #835e99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d6f",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 275.854,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34849,
    "c": 0.13656,
    "h": 308.2
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#4E1D6F
secondary
#6BA344
accent
#E24685
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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