#4E1E6F#4E1E6F

#4E1E6F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 308.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#4E1E6F
RGBrgb(78, 30, 111)
HSLhsl(276, 57%, 28%)
HSVhsv(276, 73%, 44%)
CMYKcmyk(29.7%, 73%, 0%, 56.5%)
CIE-LABlab(22.64, 37.65, -37.60)
CIE-LCHlch(22.64, 53.21, 315.04°)
OKLaboklab(34.97% 0.0832 -0.1066)
OKLCHoklch(34.97% 0.135 308)
XYZxyz(6.4748, 3.6960, 15.4082)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E6F #3F6F1E
analogous
#261E6F #4E1E6F #6F1E67
triadic
#4E1E6F #6F4E1E #1E6F4E
tetradic
#4E1E6F #6F261E #3F6F1E #1E676F
square
#4E1E6F #6F261E #3F6F1E #1E676F
split-complementary
#4E1E6F #676F1E #1E6F26
monochromatic
#110718 #2C113F #4E1E6F #702B9F #913DCB

Accessibility & contrast

On white

12.07
#4E1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E1E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E6F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E6F#FFFFFF#000000##FFFFFF
##4E1E6F1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#0A376D
Tritanopia (blue-blind)
#493044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1e6f;
/* rgb */ color: rgb(78, 30, 111);
/* oklch */ color: oklch(35.0% 0.135 308.0);
Tailwind
colors: {
  custom: {
    50: '#835e99',
    500: '#4e1e6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e6f;
$custom-light: #835e99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e6f",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 275.556,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34973,
    "c": 0.13521,
    "h": 308
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#4E1E6F
secondary
#6CA346
accent
#E14786
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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