#4E0E6F#4E0E6F

#4E0E6F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 310.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4E0E6F
RGBrgb(78, 14, 111)
HSLhsl(280, 78%, 25%)
HSVhsv(280, 87%, 44%)
CMYKcmyk(29.7%, 87.4%, 0%, 56.5%)
CIE-LABlab(20.37, 44.17, -41.29)
CIE-LCHlch(20.37, 60.46, 316.93°)
OKLaboklab(33.37% 0.0985 -0.1173)
OKLCHoklch(33.37% 0.153 310)
XYZxyz(6.1676, 3.0816, 15.3058)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0E6F #2F6F0E
analogous
#1E0E6F #4E0E6F #6F0E60
triadic
#4E0E6F #6F4E0E #0E6F4E
tetradic
#4E0E6F #6F1E0E #2F6F0E #0E606F
square
#4E0E6F #6F1E0E #2F6F0E #0E606F
split-complementary
#4E0E6F #606F0E #0E6F1E
monochromatic
#13031B #280739 #4E0E6F #7415A5 #9A1CDC

Accessibility & contrast

On white

12.99
#4E0E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E0E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0E6F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0E6F#FFFFFF#000000##FFFFFF
##4E0E6F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#492840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e0e6f;
/* rgb */ color: rgb(78, 14, 111);
/* oklch */ color: oklch(33.4% 0.153 310.0);
Tailwind
colors: {
  custom: {
    50: '#845799',
    500: '#4e0e6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0e6f;
$custom-light: #845799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0e6f",
  "rgb": {
    "r": 78,
    "g": 14,
    "b": 111
  },
  "hsl": {
    "h": 279.588,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.15312,
    "h": 310
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#4E0E6F
secondary
#5AA732
accent
#F43475
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E0E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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