#4E1E6B#4E1E6B

#4E1E6B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.131 H 309.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1E6B
RGBrgb(78, 30, 107)
HSLhsl(277, 56%, 27%)
HSVhsv(277, 72%, 42%)
CMYKcmyk(27.1%, 72%, 0%, 58%)
CIE-LABlab(22.34, 36.67, -35.50)
CIE-LCHlch(22.34, 51.04, 315.93°)
OKLaboklab(34.66% 0.0837 -0.1004)
OKLCHoklch(34.66% 0.131 309.8)
XYZxyz(6.2595, 3.6099, 14.2741)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E6B #3B6B1E
analogous
#281E6B #4E1E6B #6B1E62
triadic
#4E1E6B #6B4E1E #1E6B4E
tetradic
#4E1E6B #6B281E #3B6B1E #1E626B
square
#4E1E6B #6B281E #3B6B1E #1E626B
split-complementary
#4E1E6B #626B1E #1E6B28
monochromatic
#110718 #2B113B #4E1E6B #712B9B #933BC8

Accessibility & contrast

On white

12.20
#4E1E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E6B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E6B#FFFFFF#000000##FFFFFF
##4E1E6B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#113669
Tritanopia (blue-blind)
#4A2E42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1e6b;
/* rgb */ color: rgb(78, 30, 107);
/* oklch */ color: oklch(34.7% 0.131 309.8);
Tailwind
colors: {
  custom: {
    50: '#835e96',
    500: '#4e1e6b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e6b;
$custom-light: #835e96;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e6b",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 277.403,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.13072,
    "h": 309.8
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#4E1E6B
secondary
#679F45
accent
#DF4881
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E1E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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